Discord will no long allow bots to read the content of messages unless the bot has Message Content intents. Bots will not be granted this intent simply so that they can execute !lfg style commands. Discord intends bots to migrate to the new slash commands before April 2022. All commands that SpellBot has will stop working at that time. There's nothing that can be done to prevent that from happening. Read more, here: https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1
So the only option for SpellBot to continue operating is to migrate to slash commands. This library may be the best option: https://discord-interactions.readthedocs.io/en/latest/index.html
Another option is to change from: !lfg to something like @SpellBot lfg. Bots will automatically gain access to message content if they are mentioned in the message. So replacing the command prefix with a mention of SpellBot could work. This is not ideal as it requires a lot more typing but it may be easier to implement than slash commands.
Discord will no long allow bots to read the content of messages unless the bot has Message Content intents. Bots will not be granted this intent simply so that they can execute
!lfgstyle commands. Discord intends bots to migrate to the new slash commands before April 2022. All commands that SpellBot has will stop working at that time. There's nothing that can be done to prevent that from happening. Read more, here: https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1So the only option for SpellBot to continue operating is to migrate to slash commands. This library may be the best option: https://discord-interactions.readthedocs.io/en/latest/index.html
Another option is to change from:
!lfgto something like@SpellBot lfg. Bots will automatically gain access to message content if they are mentioned in the message. So replacing the command prefix with a mention of SpellBot could work. This is not ideal as it requires a lot more typing but it may be easier to implement than slash commands.