{
  "id": 11061235,
  "title": "Discord gives your bot exactly 100 slash commands. I hit 100 and found out from a failing test.",
  "url": "https://urgent.news/2026/09/30/discord-gives-your-bot-exactly-100-slash-commands-i-hit-100-and-found",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-30T23:45:08.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/motzumoto/discord-gives-your-bot-exactly-100-slash-commands-i-hit-100-and-found-out-from-a-failing-test-702"
  },
  "original_language": "en",
  "account": "Discord enforces a limit of 100 global slash commands for apps. This limit applies to both individual commands and subcommands, with subcommands and subcommand groups not counting toward the total. The author discovered this limit while working on their Discord bot, Akiko, which had exactly 100 commands. They added a \"/settings\" command, causing the count to reach 101, leading to a failing test that resulted in Discord error code 30032 during deployment. To avoid this issue, the author implemented a test that builds and checks the total number of commands before deployment. The test's documentation also outlines several strategies to work within the 100-command limit, such as folding a command into an existing one or making it prefix- or developer-only. Ultimately, the author emphasizes the importance of designing command names as groups from the outset and never assuming that permissions set on a subcommand will be enforced, as this should be verified in the code.",
  "summary": "Discord limits an app to 100 global slash commands. Subcommands and subcommand groups do not count toward it. My bot, Akiko, sits at exactly 100. I learned where the wall is the hard way. I added a /settings command, the total became 101, and a test failed with expected 101 to be less than or equal to 100 . In production the same mistake shows up as Discord error code 30032 when you deploy your…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}