Actions43
- Add Reaction
- Add Role to Member
- Add Thread Member
- Ban Member
- Bulk Delete Messages
- Create Channel
- Create Invite
- Create Role
- Create Scheduled Event
- Create Thread
- Create Thread From Message
- Delete Channel
- Delete Message
- Delete Role
- Delete Scheduled Event
- Delete Slash Command
- Edit Channel
- Edit Role
- Edit Scheduled Event
- Edit Thread
- Fetch Member
- Fetch Message
- Fetch Message History
- Kick Member
- List Scheduled Events
- List Slash Commands
- Pin Message
- Register Context Menu Command
- Register Slash Command
- Remove Own Reaction
- Remove Role From Member
- Remove Thread Member
- Respond to Interaction
- Send Message
- Send Message with Poll
- Send Modal
- Set Bot Activity
- Set Bot Status
- Set Member Nickname
- Timeout Member
- Unban Member
- Unpin Message
- Update Message
Register Context Menu Command
AI-generatedSummary
Register a Discord context menu command that appears in the right-click menu either on a server member (user type) or on a channel message (message type).
Inputs
- Command Type (required) — Select whether the context menu command applies to a user (server member) or a message (channel message).
- Command Name (required) — Set the label displayed in the Discord right-click menu, with a length between 1 and 32 characters, and supporting spaces and mixed casing.
- Guild ID — Optionally specify a guild ID to register the command only within that guild for instant availability; leave empty to register the command globally, which can take up to one hour to propagate.
Output shape
a single record representing the registered context menu command details returned by Discord API
The command is registered either globally or in a specified guild. Registration in a guild is instant, while global commands may take up to one hour to appear. Errors in registration will be reported as node execution errors.