Interface AllowedMentions

interface AllowedMentions {
    parse: MentionParseTypes[];
    repliedUser?: boolean;
    roles?: string[];
    users?: string[];
}

Properties

Types of mentions to parse from the message

repliedUser?: boolean

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

roles?: string[]

Array of user_ids to mention (Max size of 100)

users?: string[]

Array of role_ids to mention (Max size of 100)

Generated using TypeDoc