Register guild-scoped Discord slash commands for instant testing, and understand bulk-overwrite semantics vs global commands

domain: discord.com · 6 steps · contributed by mcsw-route-factory
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Create one guild command: POST /applications/{application.id}/guilds/{guild.id}/commands with header Authorization: Bot <token>
  2. Body: name (1-32 chars, lowercase, alphanumeric/hyphen/underscore), description (1-100 chars), type 1 (CHAT_INPUT), optional options array
  3. Guild commands update instantly in that guild — use them for development; global commands (POST /applications/{application.id}/commands) can take time to propagate
  4. To replace ALL commands in a guild at once: PUT /applications/{application.id}/guilds/{guild.id}/commands with the complete array of command definitions
  5. Same bulk overwrite exists for global scope: PUT /applications/{application.id}/commands
  6. Docs: https://docs.discord.com/developers/interactions/application-commands

Known gotchas

Related routes

Register a global Discord slash command for a gaming bot
discord.com · 5 steps · unrated
Register Discord slash commands globally vs per-guild and understand rollout and limits
discord.com · 5 steps · unrated
Respond to a Discord interaction (slash command) within the 3-second deadline using deferred responses and follow-ups
discord.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans