Skip to main content

DiscordAllowedMentions

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordAllowedMentions

Interface: DiscordAllowedMentions

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

Properties

parse?

optional parse: AllowedMentionsTypes[]

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

Defined in

packages/types/dist/types/discord.d.ts:537


replied_user?

optional replied_user: boolean

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

Defined in

packages/types/dist/types/discord.d.ts:539


roles?

optional roles: string[]

Array of role_ids to mention (Max size of 100)

Defined in

packages/types/dist/types/discord.d.ts:541


users?

optional users: string[]

Array of user_ids to mention (Max size of 100)

Defined in

packages/types/dist/types/discord.d.ts:543