From b433ea6273a24c5ea937ceba230aeedb0eaaa6cc Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 14 Jan 2018 01:25:49 -0500 Subject: [PATCH] Change delete_after to 7 secs in on_command_error output --- src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.py b/src/run.py index 6c8f9ea..45de512 100644 --- a/src/run.py +++ b/src/run.py @@ -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)