mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Merge branch 'dev'
This commit is contained in:
commit
8114570716
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ async def on_error(error, *args, **kwargs):
|
|||
async def on_command_error(ctx, error):
|
||||
if isinstance(error, err.NotFound):
|
||||
print('NOT FOUND')
|
||||
elif isinstance(error, err.Forbidden):
|
||||
pass
|
||||
elif isinstance(error, errext.MissingRequiredArgument):
|
||||
await ctx.send('**Missing required argument**')
|
||||
await ctx.message.add_reaction('\N{CROSS MARK}')
|
||||
|
|
Loading…
Reference in a new issue