1
0
Fork 0
mirror of synced 2024-05-17 19:12:33 +12:00

Update error method to match current version

This commit is contained in:
Phxntxm 2017-05-11 18:25:22 -05:00
parent e3e2a312d0
commit 86de528733

2
bot.py
View file

@ -76,7 +76,7 @@ async def process_command(ctx):
@bot.event
async def on_command_error(error, ctx):
async def on_command_error(ctx, error):
if isinstance(error, commands.CommandNotFound):
return
if isinstance(error, commands.DisabledCommand):