Context Menu

Triggers when a user or message context menu option is clicked.

This trigger is based on Discord event InteractionCreate.

Inputs

Context Menu Type

The type of context menu. This dictates where the context menu will appear.

Example: User or Message

Context Menu Name

The name of the context menu.

Example: Flag Message

Outputs

Interaction ID

The interaction ID of the interaction.

Example: 123456789012345678

Interaction Token

The token of the interaction.

Example: abCdeF123gHiJkLmNoPqRsTuVwXyZ0123456789

Server ID

The server ID where the autocomplete interaction is being run.

Example: 123456789012345678

Channel ID

The server ID where the autocomplete interaction is being run.

Example: 123456789012345678

Executing User ID

The ID of the user that is running the command with the autocomplete option.

Example: 123456789012345678

Message ID

The message ID that was targeted. This output will only appear if the Context Menu Type is Message

Example: 123456789012345678

User ID

The user ID that was targeted. This output will only appear if the Context Menu Type is User

Example: 123456789012345678

Context Type

The context type of the command.

Example: Server, DM

App Permissions

What permissions the bot application has in the context type.

Example: 2251799813685247