Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Application Command → Bulk Overwrite Guild

AI-generated

Summary

Replaces the application commands registered for a Discord guild with the command definitions in the request payload.

Inputs

  • Authentication — Selects bot token or OAuth2 user token authentication; defaults to bot token.
  • Application (required) — Discord application ID.
  • Guild (required) — Discord guild ID whose commands to replace.
  • Payload (required) — Raw Discord JSON request body. Use an array of command definitions for bulk overwrite. The UI description says typed fields can override matching payload keys, but this operation exposes no typed command fields.
  • Request Options — Optional batching, TLS certificate validation, proxy, and timeout settings.

Output shape

A list of command records returned by Discord.

Bulk overwrite replaces the guild's existing application commands with the definitions submitted in the payload. The precise response shape and error handling are not shown in the provided source excerpt.

Links

Discussion