Interface

AllowedMentionsOptions

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

Properties

NameTypeDescription
parse?APIAllowedMentionsMention parse groups to allow (users, roles, everyone). Empty array suppresses all.
repliedUser?booleanWhether 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.