mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Remove command error catching for better debugging
This commit is contained in:
parent
88fda1701e
commit
cbd137c1e1
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue