Allow slash commands to have more than a maximum of 4000 characters combined
https://imgur.com/a/dzkehMM
In my opinion, the 4000 character limit for slash commands is too low.
At the moment, my bot has around 70 slash commands and has already reached the 4000 character limit, which prevents me from adding new commands.
For global commands, the 100 slash command limit seems reasonable, but when the character gap is so easily reached at 70 slash commands, it's clearly too low. At least in my opinion.
If I'm being realistic, 5000 characters seems reasonable in this use case.
-
Hi, Iced Queen
Yes I agree with you, I voted your feedback, i hope your feedback considered by Discord. Good Evenings
Sincerely, Harshy
3 -
Note the "each". This limit is PER command, not overall. 4000 characters for a single command is very generous. This is the same idea as with embeds, those have a 6000 character limit across all fields but the size of each embed does not effect the others.
My 89 commands easily reach 11,000+ characters total, but none of them individually reach the 4,000 limit, so everything is fine.
4 -
I guess I misunderstood, donovan_dmc. Thank you for the clarification :D
1 -
Still, the 4000 character limit is unreasonably shared among the whole command group, including all sub-command groups. This is not enough if slash commands are divided among several categories, with each of them having more than 30 sub-commands and sub-sub-commands with different functionalities.
For example, /command1 sub-command1 share the same limit as /command1 sub-command2 sub-sub-command1, while /command2 gets another limit.
Imagine if a bot originally gets a character limit of 4000 each using root for category 1 (e.g.
/score
/info
...
/foo
/bar
) before but now adding commands for a similar category 2 (e.g. a different game of a similar nature or belong to the same series that developing another bot is not a good idea), then the most reasonable way is to migrate all commands of category 1 under a sub-command:
(i.e.
/game1 score
/game1 info
...
/game1 foo
/game1 bar
) and put all commands of category 2 under /game2. This means the character limit of 4000 is now shared across all commands under /game1 which is tightened a lot. This compromises the command organization tidiness if the only way to mitigate it is to use (
/game1-score
/game1-info
...
/game1-foo
/game1-bar
/game2-score
... (then the 100 command limit is shared among all games), or
/game1a score
/game1a info
...
/game1b foo
/game1b bar
for just game 1 instead (tedious for users to check which group a command of game1 is belonged to)), or to split into another game2 bot running another process and add into the same server to keep all commands using the root without the 4000 character limit for subcommand group.These kind of mitigations make command searching much more inconvenient. Also, developers may choose to cut the description instead to keep all commands under the same command group, which raises another readibility issue. (This is also tightened after the introduction of localization, since descriptions in another languages may use more characters to deliver the same meaning, adding another burden to the limit)
Therefore, each command groups should be allowed to get an independent character limit instead, otherwise the claimed 100 × 25 × 25 = 62500 commands are basically impractical when each of them can only contain 4000 / 25 / 25 = 6.4 characters on average.
References:
https://discord.com/developers/docs/interactions/application-commands#slash-commands1 -
Also take into account that each subcommand here can have a lot of options and the command- and option descriptions may be well-explained.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
5 commentaires