Tech
Discord gives your bot exactly 100 slash commands. I hit 100 and found out from a failing test.
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 commands.
The most useful thing in the repo is a boring test
There is a test tha...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to