mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +00:00
Fix formatting
This commit is contained in:
parent
4191ea1ce3
commit
c121371740
1 changed files with 3 additions and 3 deletions
|
@ -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}```')
|
||||||
|
|
Loading…
Reference in a new issue