Skip to main content

AllowedMentions

@discordeno/botDocs


Documentation / @discordeno/bot / AllowedMentions

Interface: AllowedMentions

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/discordeno.d.ts:222


repliedUser?

optional repliedUser: boolean

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

Defined in

packages/types/dist/types/discordeno.d.ts:224


roles?

optional roles: bigint[]

Array of role_ids to mention (Max size of 100)

Defined in

packages/types/dist/types/discordeno.d.ts:226


users?

optional users: bigint[]

Array of user_ids to mention (Max size of 100)

Defined in

packages/types/dist/types/discordeno.d.ts:228