Closed aedwardg closed 2 years ago
Unless anyone else is already working on this I'll do some testing and investigate a little.
I integrated the 4 current slash commands (ping, stats, helpcenter, format) from the community bot into our bot and they were running fine side by side. Main limitation seems to be that a regular command cannot have the same name as a slash command. The experimental branch is called try-slash-cmd-integration. It requires creating a few new env variables related to slash commands (same ones we have in community bot) and run the deployCommands.js script.
New env variables needed are: GUILD_ID CLIENT_ID
So it is possible to run the commands at the same time and the setup for this is easy. Perhaps the next thing to look into is if permissions/role related commands will also work smoothly.
Purpose
Figure out if/how we can have both slash commands and regular commands running on the bot at the same time.
If we are able to do this, we can roll out our slash commands incrementally and we won't have to necessarily pause bug fixes until slash commands are completed.
This ticket is a spike and is meant to be exploratory. We will probably not merge any code from this ticket. The goal of this spike is to research and explore if this is possible, how much work it will be to implement, and potentially a working proof of concept.
Acceptance Criteria
Please list the requirements the implementation of this feature should meet.