marksverdhei / bert-bot

Discord bot
GNU General Public License v3.0
5 stars 2 forks source link

Migrate to using slash commands #11

Closed LBlend closed 1 year ago

LBlend commented 2 years ago

As noted in this post, Discord wants everyone to use slash commands instead of the traditional, prefix+command message way of interacting with bots.

The devs of the library we use for interacting with the Discord API, discord.py, are working on adding support for this change and have already done so in RC versions of the library. We should get going with migrating all commands to this new format as well as updating our "intents" on the Discord developer platform page.

If we don't do this, the bot will likely break at some point in the near future. It's an issue that's been known about in the discord bot developer community for a long time, but I haven't really wrapped my head around it until now. I still feel like I have a complete grasp of the situation yet either.

I can attempt at doing this whenever I find the time for it, but just beware that this is an issue.

LBlend commented 2 years ago

more details about implementation can be found here

LBlend commented 2 years ago

Turns out we've got more time than I expected https://github.com/discord/discord-api-docs/discussions/4657