Concord discord_create_global_application_command erroneously rejects requests early if the description field is empty, which prevents user (type 2) and message (type 3) commands from being created.
User and message commands must not have "description" provided, as per Discord spec:
The description field is not allowed when creating message commands. However, to avoid breaking changes to data models, description will be an empty string (instead of null) when fetching commands.
Describe the bug
Concord
discord_create_global_application_command
erroneously rejects requests early if the description field is empty, which prevents user (type 2) and message (type 3) commands from being created.https://github.com/Cogmasters/concord/blob/master/src/application_command.c#L40
Expected behavior
User and message commands must not have "description" provided, as per Discord spec:
https://discord.com/developers/docs/interactions/application-commands#message-commands
Version
769bdb74b066b2f250a3ec9199063532e4dcccf2