#How do you add slash commands to a bot class?

1 messages · Page 1 of 1 (latest)

supple cloak
#

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

placid pike
#

@discord.slash_command
async def ...()

supple cloak
#

i was using bot.slash_command

#

how do you set the debug guilds?

placid pike
#

Takes a list of ints