1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Remove command error catching for better debugging

This commit is contained in:
Myned 2019-01-03 18:07:15 -05:00
parent 88fda1701e
commit cbd137c1e1

View file

@ -167,8 +167,6 @@ async def on_command_error(ctx, error):
print('NOT FOUND')
elif isinstance(error, err.Forbidden):
pass
elif isinstance(error, errext.CommandInvokeError):
print('INVOCATION ERROR')
elif isinstance(error, errext.CommandOnCooldown):
await u.add_reaction(ctx.message, '\N{HOURGLASS}')
await asyncio.sleep(error.retry_after)