bot.remove_command not working in discord.py
isaiah08

I'm using this tutorial.
If you go to maincommands.py, you can see on line 5 that i removed the built in command hello:
bot.remove_command('hello')
So why does it still show an error for it?

You are viewing a single comment. View All
xfinnbar

You need to put it after the command is defined. I recommend you put it before bot.run()

isaiah08

Thanks, but now i'm getting a different error. What's wrong? @xfinnbar

Coder100

you need to set a valid discord token on line 7 lol @isaiah08

isaiah08

Thanks! @Coder100