MessageOptions
MessageOptions =
object
Defined in: utils/message.ts:9
What a message holds besides its text.
Properties
Section titled “Properties”allowedMentions?
Section titled “allowedMentions?”
optionalallowedMentions?:Schemas["MessageAllowedMentionsRequest"]
Defined in: utils/message.ts:20
Who the message pings. By default it pings nobody, even for @everyone or <@id> in the
text. Pass { users: [id] } or { parse: ['roles'] } to ping.
buttons?
Section titled “buttons?”
optionalbuttons?:Button[]
Defined in: utils/message.ts:11
Buttons, five to a row. Pass [] to remove the buttons of the message.
embeds?
Section titled “embeds?”
optionalembeds?:Schemas["RichEmbed"][]
Defined in: utils/message.ts:15
Embeds, as in the Discord API, such as { title, description }.
files?
Section titled “files?”
optionalfiles?:Upload[]
Defined in: utils/message.ts:22
Files to attach.
selects?
Section titled “selects?”
optionalselects?:SelectMenu[]
Defined in: utils/message.ts:13
Select menus made with select(), one to a row, above the buttons.