Skip to main content

DiscordAllowedMentions

Documentation


Documentation / @discordeno/types / DiscordAllowedMentions

Interface: DiscordAllowedMentions

Defined in: discord/message.ts:526

https://docs.discord.com/developers/resources/message#allowed-mentions-object-allowed-mentions-structure

Properties

parse?

optional parse?: AllowedMentionsTypes[]

Defined in: discord/message.ts:528

An array of allowed mention types to parse from the content.


replied_user?

optional replied_user?: boolean

Defined in: discord/message.ts:534

For replies, whether to mention the author of the message being replied to (default false)


roles?

optional roles?: string[]

Defined in: discord/message.ts:530

Array of role_ids to mention (Max size of 100)


users?

optional users?: string[]

Defined in: discord/message.ts:532

Array of user_ids to mention (Max size of 100)