#How do you add slash commands to a bot class?
1 messages · Page 1 of 1 (latest)
The same way you add the task
@discord.slash_command
async def ...()
Takes a list of ints
1 messages · Page 1 of 1 (latest)
Hello, I am wondering on how you would add a slash command into a bot class, so that it can modify variables in a class for a task
The same way you add the task
@discord.slash_command
async def ...()
Takes a list of ints