I am using the discord.ext.commands module for my Discord bot and I'd like to have a multiple word command called "setup prefix".
When I'm using the command, it throws an CommandNotFound error, which says that "setup" isn't a command. So it seems like discord.py is only checking for the first word.
Is there a way to fix that?
This is a snippet of my code:
@commands.command(name="setup prefix")
async def set_prefix(self, ctx: Context, prefix: str):
pass
And yeah I know, I could take "prefix" as an additional argument. But then I have to do all setup commands using one function.
I would appreciate your help :)