Interface

AllowedMentionsOptions

SDK options for allowed mentions (camelCase). Converted to APIAllowedMentions on send.

Properties

parse?: AllowedMentionType[] | undefined

Mention parse groups to allow (`users`, `roles`, `everyone`). Empty array suppresses all.

repliedUser?: boolean

Whether to @mention and notify the author of the replied-to message.

roles?: string[]

Explicit role IDs that may be mentioned.

users?: string[]

Explicit user IDs that may be mentioned.