LogoAntiRaid

@discord-types/builders/embed/footer

API reference for @discord-types/builders/embed/footer

@discord-types/builders/embed/footer

Types

Raw Type
type Footer = Footer.Prototype, & {
	text: string?,

	iconUrl: string?,

	proxyIconUrl: string?
}

Intersection with variants:

Variant 2
PropTypeDescription
text?
-
iconUrl?
-
proxyIconUrl?
-

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

string

Returns

ret1

Footer

Footer.Prototype.setIcon

[[

]]

Function Signature
--[[
	
]]
function Footer.Prototype.setIcon(self: Footer, iconUrl: string, proxyIconUrl: string?) -> Footer end

Arguments

iconUrl

string

proxyIconUrl

This field is optional and may not be specified

string?

Returns

ret1

Footer

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

JSON

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

Footer

Last updated on