According to the docs, context menu commands should set their description to "" (an empty string). However, today I noticed that the API no longer accepts an empty string (I get [BASE_TYPE_BAD_LENGTH]: Must be between 1 and 100 in length.), but if I give the command a description, I get [APPLICATION_COMMAND_CONTEXT_MENU_DESCRIPTION_INVALID]: Context menu commands cannot have description. I have to remove the field from my API request entirely before it is successful.
If this was an intentional change, it was not announced nor reflected anywhere.
Steps to Reproduce
Create a context menu (USER or MESSAGE) command. Observe how you may now only set its description to undefined and "" is no longer permitted.
Expected Behavior
"" to be allowed as it always has, or if this was an intentional change, proper announcements beforehand.
Description
According to the docs, context menu commands should set their description to
""
(an empty string). However, today I noticed that the API no longer accepts an empty string (I get[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 100 in length.
), but if I give the command a description, I get[APPLICATION_COMMAND_CONTEXT_MENU_DESCRIPTION_INVALID]: Context menu commands cannot have description
. I have to remove the field from my API request entirely before it is successful. If this was an intentional change, it was not announced nor reflected anywhere.Steps to Reproduce
Create a context menu (
USER
orMESSAGE
) command. Observe how you may now only set its description toundefined
and""
is no longer permitted.Expected Behavior
""
to be allowed as it always has, or if this was an intentional change, proper announcements beforehand.Current Behavior
Only
undefined
is allowed.Screenshots/Videos
No response
Client and System Information
API v10 (through Discord.js 14.7.1)