1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 22:27:28 +00:00

Fix formatting

This commit is contained in:
Myned 2019-09-23 02:05:02 -04:00
parent 4191ea1ce3
commit c121371740

View file

@ -144,9 +144,9 @@ async def on_command_error(ctx, error):
'\n! ! ! ! ! ! ! ! ! ! ! !\n', file=sys.stderr) '\n! ! ! ! ! ! ! ! ! ! ! !\n', file=sys.stderr)
tb.print_exception(type(error), error, error.__traceback__, file=sys.stderr) tb.print_exception(type(error), error, error.__traceback__, file=sys.stderr)
await bot.get_user(u.config['owner_id']).send( await bot.get_user(u.config['owner_id']).send(
'**COMMAND ERROR** \N{WARNING SIGN}' '**COMMAND ERROR** \N{WARNING SIGN} '
f'`{ctx.message.content}`' f'`{ctx.message.content}` '
f'from {ctx.author.mention}' f'from {ctx.author.mention} '
f'in {ctx.channel.mention if isinstance(ctx.channel, d.channel.TextChannel) else "DMs"}' f'in {ctx.channel.mention if isinstance(ctx.channel, d.channel.TextChannel) else "DMs"}'
'\n```\n' '\n```\n'
f'{error}```') f'{error}```')