1
0
Fork 0
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:
Dylan Dizon 2018-11-06 15:49:11 -05:00
commit 8114570716

View file

@ -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}')