Skip to main content

AllowedMentions

@discordeno/bot


Documentation / @discordeno/bot / AllowedMentions

Interface: AllowedMentions

Defined in: packages/types/dist/types/discordeno.d.ts:220

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

Properties

parse?

optional parse: AllowedMentionsTypes[]

Defined in: packages/types/dist/types/discordeno.d.ts:222

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


repliedUser?

optional repliedUser: boolean

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

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


roles?

optional roles: bigint[]

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

Array of role_ids to mention (Max size of 100)


users?

optional users: bigint[]

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

Array of user_ids to mention (Max size of 100)