AllowedMentionsBuilder

The mentions that should trigger a ping. See the Discord documentation.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Whether to mention the user being replied to.

Link copied to clipboard

The roles that should be mentioned in this message, any id that is mentioned in this list but not present in the MessageCreateBuilder will be ignored.

Link copied to clipboard

The types of pings that should trigger in this message. Selecting AllowedMentionType.UserMentions or AllowedMentionType.RoleMentions together with any value in users or roles respectively will result in an error.

Link copied to clipboard

The users that should be mentioned in this message, any id that is mentioned in this list but not present in the MessageCreateBuilder will be ignored.

Functions

Link copied to clipboard

Adds the type to the list of types that should receive a ping.

Link copied to clipboard
Link copied to clipboard

Adds the type to the list of types that should receive a ping.