kentcdodds / kcd-discord-bot-v1

The bot for the KCD discord community
https://kcd.im/discord
MIT License
122 stars 41 forks source link

Figure out how to add commands to list of accessible commands #41

Open kentcdodds opened 3 years ago

kentcdodds commented 3 years ago

From the 2020-12-21 release notes:

Postulated new slash commands for bots. Performing actions with bots is easier than ever. Now, developers can have a list of commands available for their bots accessible by the slash key (/). You won’t have to remember bot commands anymore and get laughed at when you get the command wrong :( !help…..!help….please

Would be cool to integrate with this.

marcosvega91 commented 3 years ago

Discord.js has not added the feature yet. https://github.com/discordjs/discord.js/issues/5103. I'll try to understand how it should work. It'll be cool 🙂

kentcdodds commented 3 years ago

I think support has just been merged. Not sure when it'll be released though: https://github.com/discordjs/discord.js/blob/master/docs/examples/commands.md