discord_commands
Manage Discord application commands by listing, creating, editing, deleting, or replacing guild and global commands through the Discord API.
Instructions
Discord commands. Actions: guild_list, guild_create, guild_edit, guild_delete, guild_replace_all, global_list, global_create, global_edit, global_delete, global_replace_all. Call discord_help with group="commands" and action for required IDs, request fields, limits and examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Discord JSON payload. Get the action schema with discord_help. Images support {$file:"relative.png"}; sound uses {$file:"sound.mp3",$kind:"audio"}. | |
| files | No | Files under DISCORD_ASSET_DIR. Sent as Discord multipart attachments. | |
| query | No | Query parameters supported by this action; see discord_help. | |
| action | Yes | ||
| params | No | Route IDs, e.g. {guild_id,channel_id,message_id,user_id}. guild_id can default from configuration; application_id defaults to the bot. | |
| reason | No | Human-readable audit log reason for a server change. |