Interface AllowedMentions

interface AllowedMentions {
    everyone?: boolean;
    repliedUser?: boolean;
    roles?: boolean | string[];
    users?: boolean | string[];
}

Properties

everyone?: boolean

If @everyone/@here mentions should be allowed.

repliedUser?: boolean

If the replied user (messageReference) should be mentioned.

roles?: boolean | string[]

An array of role ids that are allowed to be mentioned, or a boolean value to allow all or none.

users?: boolean | string[]

An array of user ids that are allowed to be mentioned, or a boolean value to allow all or none.