Delete app command
delete_app_commandRemove a Discord slash command from your server. First call previews the action and returns a confirmation token; repeat with the token to permanently unregister it.
Instructions
Unregister a slash command so it no longer appears for users. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token removes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Which bot to act as, by name, when more than one is configured. Omit to use the default bot. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| command | Yes | Command name or ID. | |
| dry_run | No | ||
| confirm_token | No |