BaseMessageOptions
typedef · Source
Base options provided when sending. Type: Object
Properties
activity
optional
activity: MessageActivity
Group activity
tts
optional
tts: boolean
Whether or not the message should be spoken aloud
Default: false
nonce
optional
nonce: string
The nonce for the message
Default: ''
content
optional
content: string
The content for the message
Default: ''
embeds
optional
embeds: Array<(MessageEmbed|APIEmbed)>
The embeds for the message (see here for more details)
allowedMentions
optional
allowedMentions: MessageMentionOptions
Which mentions should be parsed from the message content (see here for more details)
files
optional
files: Array<(FileOptions|BufferResolvable|Array<MessageAttachment>)>
Files to send with the message
components
optional
components: Array<(MessageActionRow|MessageActionRowOptions)>
Action rows containing interactive components for the message (buttons, select menus)
attachments
optional
attachments: Array<MessageAttachment>
Attachments to send in the message