Skip to content

Migrate to slash commands before April 2022 #581

@lexicalunit

Description

@lexicalunit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions