mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +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')
|
print('NOT FOUND')
|
||||||
elif isinstance(error, err.Forbidden):
|
elif isinstance(error, err.Forbidden):
|
||||||
pass
|
pass
|
||||||
elif isinstance(error, errext.CommandInvokeError):
|
|
||||||
print('INVOCATION ERROR')
|
|
||||||
elif isinstance(error, errext.CommandOnCooldown):
|
elif isinstance(error, errext.CommandOnCooldown):
|
||||||
await u.add_reaction(ctx.message, '\N{HOURGLASS}')
|
await u.add_reaction(ctx.message, '\N{HOURGLASS}')
|
||||||
await asyncio.sleep(error.retry_after)
|
await asyncio.sleep(error.retry_after)
|
||||||
|
|
Loading…
Reference in a new issue