From c121371740879977c367e8e51755d9eb86b2a2aa Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 23 Sep 2019 02:05:02 -0400 Subject: [PATCH] Fix formatting --- src/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/run.py b/src/run.py index 0d6c08e..c1644e9 100644 --- a/src/run.py +++ b/src/run.py @@ -144,9 +144,9 @@ async def on_command_error(ctx, error): '\n! ! ! ! ! ! ! ! ! ! ! !\n', file=sys.stderr) tb.print_exception(type(error), error, error.__traceback__, file=sys.stderr) await bot.get_user(u.config['owner_id']).send( - '**COMMAND ERROR** \N{WARNING SIGN}' - f'`{ctx.message.content}`' - f'from {ctx.author.mention}' + '**COMMAND ERROR** \N{WARNING SIGN} ' + f'`{ctx.message.content}` ' + f'from {ctx.author.mention} ' f'in {ctx.channel.mention if isinstance(ctx.channel, d.channel.TextChannel) else "DMs"}' '\n```\n' f'{error}```')