@discord-types/builders/embed/footer
API reference for @discord-types/builders/embed/footer
@discord-types/builders/embed/footer
Types
Footer
Raw Type
type Footer = Footer.Prototype, & {
text: string?,
iconUrl: string?,
proxyIconUrl: string?
}
Intersection with variants:
JSON
Raw Type
type JSON = Footer.Prototype.build({} :: any),
Functions
Footer.Prototype.setText
[[
]]
Function Signature
--[[
]]
function Footer.Prototype.setText(self: Footer, text: string) -> Footer end
Arguments
text
Returns
ret1
Footer.Prototype.setIcon
[[
]]
Function Signature
--[[
]]
function Footer.Prototype.setIcon(self: Footer, iconUrl: string, proxyIconUrl: string?) -> Footer end
Arguments
iconUrl
proxyIconUrl
This field is optional and may not be specified
Returns
ret1
Footer.Prototype.build
[[ Responsible for building the Footer JSON that can be parsed by the Discord API. ]]
Function Signature
--[[
Responsible for building the Footer JSON that can be parsed by the Discord API.
]]
function Footer.Prototype.build(self: Footer) -> JSON end
Returns
ret1
Footer.Interface.new
[[ Responsible for creating a new Footer.
```lua
``` ]]
Function Signature
--[[
Responsible for creating a new Footer.
\`\`\`lua
\`\`\`
]]
function Footer.Interface.new(resource: {
text: string?,
iconUrl: string?,
proxyIconUrl: string?
}?) -> Footer end
Arguments
resource
This field is optional and may not be specified
{text: string?, iconUrl: string?, proxyIconUrl: string?}?
Returns
ret1
Last updated on