Actions193
- Application Actions
- Application Command Actions
- Application Role Connection Metadata Actions
- Audit Log Actions
- Auto Moderation Actions
- Channel Actions
- Get
- Modify
- Delete
- Trigger Typing
- Get Pinned Messages
- Unpin Message
- Create Reaction
- Delete Own Reaction
- Get Reactions
- Delete All Reactions
- Delete All Reactions For Emoji
- Bulk Delete Messages
- Crosspost Message
- Edit Channel Permissions
- Delete Channel Permission
- Get Channel Invites
- Create Channel Invite
- Follow Announcement Channel
- Group DM Add Recipient
- Group DM Remove Recipient
- Start Thread From Message
- Start Thread Without Message
- Start Thread In Forum Channel
- Join Thread
- Add Thread Member
- Leave Thread
- Get Thread Member
- List Thread Members
- List Public Archived Threads
- List Private Archived Threads
- List Joined Private Archived Threads
- Emoji Actions
- Entitlement Actions
- Guild Actions
- Get
- Modify
- Create
- Get Preview
- Delete
- Modify Channel Positions
- List Active Threads
- Get Bans
- Get Ban
- Remove Ban
- Get Prune Count
- Begin Prune
- Get Voice Regions
- Get Invites
- Get Integrations
- Delete Integration
- Get Widget Settings
- Modify Widget
- Get Widget
- Get Vanity URL
- Get Widget Image
- Get Welcome Screen
- Modify Welcome Screen
- Get Onboarding
- Modify Onboarding
- Modify Current User Voice State
- Modify User Voice State
- Search Members
- List Members
- Guild Scheduled Event Actions
- Guild Template Actions
- Interaction Response Actions
- Invite Actions
- Lobby Actions
- Member Actions
- Message Actions
- Poll Actions
- Role Actions
- SKU Actions
- Soundboard Actions
- Stage Instance Actions
- Sticker Actions
- Subscription Actions
- User Actions
- Voice Actions
- Webhook Actions
Application Command → Update Guild
AI-generatedSummary
Updates an existing guild application command for the specified application and guild. Supply the command ID and a raw JSON payload; optional typed fields build or override command settings, including command type, slash-command options, localizations, permissions, and NSFW status.
Inputs
- Authentication — Select Bot Token (default) or OAuth2 (User Token).
- Application (required) — Application snowflake ID.
- Guild (required) — Guild snowflake ID where the command is registered.
- Command (required) — Application command snowflake ID to update.
- Payload (required) — Raw Discord JSON request body. Typed fields override matching keys in this payload.
- Command Type — Command type: Chat Input (slash, default), User, or Message.
- Command Options — For slash commands, add option definitions such as names, descriptions, types, required status, choices, bounds, channel types, localizations, or nested options.
- Name and description localizations — Set localized command names and descriptions using the guided locale entries or JSON maps. Raw JSON values take precedence for matching locale keys.
- Default Member Permissions — Set required permission flags with the guided selector or provide a stringified bitfield; selected flags take precedence.
- NSFW — Mark the command as age-restricted.
- Request Options — Configure batching, SSL certificate handling, proxy, and request timeout.
Output shape
a single Discord command record
The response body follows Discord's application command response; exact fields depend on Discord's response.
Examples
Example 1: Update a slash command's definition
Provide the application, guild, and command IDs, then submit the desired command fields in Payload. Use the typed fields to define slash options and permissions; these override matching payload keys.