Skip to main content

DiscordAllowedMentions

@discordeno/bot


Documentation / @discordeno/bot / DiscordAllowedMentions

Interface: DiscordAllowedMentions

Defined in: packages/types/dist/types/discord.d.ts:538

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

Properties

parse?

optional parse: AllowedMentionsTypes[]

Defined in: packages/types/dist/types/discord.d.ts:540

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


replied_user?

optional replied_user: boolean

Defined in: packages/types/dist/types/discord.d.ts:542

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


roles?

optional roles: string[]

Defined in: packages/types/dist/types/discord.d.ts:544

Array of role_ids to mention (Max size of 100)


users?

optional users: string[]

Defined in: packages/types/dist/types/discord.d.ts:546

Array of user_ids to mention (Max size of 100)