Commands
Commands
Section titled “Commands”15 tools in this category.
commands_bulk_overwrite_global Atomically REPLACE the entire global command registry. Any commands not in `commands` are deleted.
commands_bulk_overwrite_guild Atomically REPLACE the guild-scoped command registry. Any commands not in `commands` are deleted fro
commands_create_global Create or upsert a global application command. Global commands propagate within ~1 hour.
commands_create_guild Create or upsert a guild-scoped slash command. Guild commands propagate immediately (vs ~1h for glob
commands_delete_global Delete a global application command. **DESTRUCTIVE — IRREVERSIBLE.**
commands_delete_guild Delete a guild-scoped command. **DESTRUCTIVE — IRREVERSIBLE.**
commands_edit_command_permissions Set per-command permission overrides for one command in a guild.
commands_get_command_permissions Get permission overrides for ONE specific command in a guild.
commands_get_global Fetch one global application command by id.
commands_get_guild Fetch one guild-scoped command by id.
commands_get_guild_command_permissions List per-command permission overrides for ALL commands in a guild.
commands_list_global List globally-registered application commands.
commands_list_guild List slash commands registered for a specific guild.
commands_modify_global Edit a global application command. All command-body fields are optional — pass only what changes.
commands_modify_guild Edit a guild-scoped command. All command-body fields are optional.