Passa al contenuto principale

Context menus

Triggered when someone uses a user or message context menu entry.

User context menu used​

Fires when a user runs a user context-menu command (right-click on a user).

Settings

NameTypeRequiredDetails
Command nameTextYesName shown under Apps when right-clicking a user (1-32 characters; spaces and mixed case allowed). Length: 1 to 32 characters.
Required permissionsList of PermissionNoPermissions a member must have to use the command by default.
Allow in DMsYes/NoYesWhether the command is also available in direct messages. Default: No.
Age-restrictedYes/NoYesRestrict the command to NSFW channels. Default: No.

Provided values

NameTypeDetails
InteractionUser context menu interactionUser context-menu interaction that was created.

Message context menu used​

Fires when a user runs a message context-menu command (right-click on a message).

Settings

NameTypeRequiredDetails
Command nameTextYesName shown under Apps when right-clicking a message (1-32 characters; spaces and mixed case allowed). Length: 1 to 32 characters.
Required permissionsList of PermissionNoPermissions a member must have to use the command by default.
Allow in DMsYes/NoYesWhether the command is also available in direct messages. Default: No.
Age-restrictedYes/NoYesRestrict the command to NSFW channels. Default: No.

Provided values

NameTypeDetails
InteractionMessage context menu interactionMessage context-menu interaction that was created.
Need more help?
Can't find what you're looking for? Our team is happy to help.