1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +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)
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}```')