Slash Commands Default Option
It would be great if slash commands could be registered with a "default" option which doesn't require a name. Possibly as the only option or possibly with named options coming after it. For example:
/lookup term: Queen's Gambit
Could be simplified to:
/lookup Queen's Gambit
The latter is much easier to use and much easier to explain to new users. Its usage is essentially the same as message commands like:
!lookup Queen's Gambit
but using / as the command prefix. This would lower the learning curve for slash commands (you and I get them but a lot of users struggle with or are intimidated by them) and make the transition from message commands to slash commands much easier while still having all the benefits that come with slash commands.
It would also help developers having a tough time adjusting (e.g. the bot has dozens of commands to parse) to create a simple, low commitment slash command like:
/m hexcode red=20 green=90 blue=48
/m translate English|Japanese Hello, how are you?
where the command is merely a wrapper to send a string to the bot without requiring message intents. The bot could use the exact same code it had previously used to parse the commands and the users type the commands in mostly the same format as before, with a small slash command prefix.
Please sign in to leave a comment.
Comments
0 comments