#the work of the bot in PM
1 messages · Page 1 of 1 (latest)
Yes, exactly. Every time I use a command to which this decorator is applied, I get an error in the console. I'm sorry, I can't provide an error, since I'm not at home at the moment
You can just handle this error. There is an event called on_error, on_command_error or on_application_command_error. These get called every time an error occurs.
You can simply make an try except for your guild_only error and your are done.
Do you use a Error handler @compact lotus ?
no XD
You really should start to use one
Okay, thanks a lot
on_error, on_command_error for prefix commands and on_application_command_error (if I remember correctly) is for application commans