#how do i combine slash and prefix commands

1 messages · Page 1 of 1 (latest)

runic sky
#

what do you mean slash command with prefixes?

quiet kite
#

I wanted to make an command work with an prefix and slash commands

#

like a!watch and /watch

runic sky
#

@bot.command("watch")
async def watch_prefix(...): ...

@bot.slash_command("watch")
async def watch_slash(...): ...