Footer
Implementation of discords Footer object as a Luau builder.
https://discord.com/developers/docs/resources/message#embed-object-embed-footer-structure
Properties
The Footer instance has no set properties!
Methods
The Footer instance has no set methods!
Functions
setText
Footer . setText () -> ()
self: Footer
text: string
Sets the footer text content.
setIcon
Footer . setIcon () -> ()
self: Footer
iconUrl: string
proxyIconUrl: string?
Sets the footer icon URL and optional proxy icon URL.
build
Footer . build () -> ()
self: Footer
Responsible for building the Footer JSON that can be parsed by the Discord API.
new
Responsible for creating a new Footer.
local footer = Footer.new({ text = "Footer text", iconUrl = "https://example.com/icon.png"})