mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Change delete_after to 7 secs in on_command_error output
This commit is contained in:
parent
ba9f5f3ac2
commit
b433ea6273
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ async def on_command_error(ctx, error):
|
|||
if isinstance(error, err.NotFound):
|
||||
print('NOT FOUND')
|
||||
elif isinstance(error, errext.CheckFailure):
|
||||
await ctx.send('**Insufficient permissions**', delete_after=10)
|
||||
await ctx.send('**Insufficient permissions**', delete_after=7)
|
||||
await ctx.message.add_reaction('\N{NO ENTRY}')
|
||||
elif isinstance(error, errext.CommandNotFound):
|
||||
print('INVALID COMMAND : {}'.format(error), file=sys.stderr)
|
||||
|
|
Loading…
Reference in a new issue