Remove or extend command description maximum length #4665
Replies: 1 comment 1 reply
-
I understand your issue but here's the thing - How to render it? If slash commands would have longer description that would mean they would have to cover bigger space to display it. It would look ugly on PC and on mobile would be really hard to use if suddenly description label would cover like your entire screen. I have a bit different suggestion. How about making 2 descriptions? Current description could be called "short_description" and then you would have proper "description" which could be much longer. When typing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
To make it easier for bot developers and lib devs, it would make more sense to not have a 100-character limit on Slash Command descriptions and instead let the width of the client's window or screen determine how many characters can be displayed.
The Discord client already trims the text when there is not enough space, so it should not matter if the description maximum length were to be increased, to say, 1000, or removed entirely.
Why this should be changed
Having such a small limit will cause many developers to run into HTTP Exceptions telling them their descriptions are too long. It is not so simple to immediately know when you have reached a 100 character limit when writing a Slash Command description.
Some commands need more than 100 characters to explain.
Most screens are wide enough to support at least 200 characters on a single line. Additionally, similar to on mobile, when the command is selected, the description could even take multiple lines.
Image showing how little space 100 characters takes up on a normal size screen with member panel collapsed:
Image showing multi-line descriptions as they appear on mobile:
The description could even be much larger than 100 characters and the ellipsis ("...") will appear in the Discord client whenever it runs out of space.
Additional thoughts
It would be nice if on a desktop client, you would be able to hover over the trimmed description to view the full description as a tooltip.
Beta Was this translation helpful? Give feedback.
All reactions