mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Change formatting
This commit is contained in:
parent
073127c789
commit
7b9a62af45
1 changed files with 4 additions and 5 deletions
|
@ -174,8 +174,7 @@ async def on_command_error(ctx, error):
|
|||
print('INVALID COMMAND : {}'.format(error), file=sys.stderr)
|
||||
await u.add_reaction(ctx.message, '\N{BLACK QUESTION MARK ORNAMENT}')
|
||||
else:
|
||||
print('\n! ! ! ! ! ! ! ! ! ! ! !\nC O M M A N D E R R O R : {}\n! ! ! ! ! ! ! ! ! ! ! !\n'.format(
|
||||
error), file=sys.stderr)
|
||||
print('\n! ! ! ! ! ! ! ! ! ! ! !\nC O M M A N D E R R O R : {}\n! ! ! ! ! ! ! ! ! ! ! !\n'.format(error), 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} `{}` from {} in {}\n```\n{}```'.format(ctx.message.content, ctx.author.mention, ctx.channel.mention if isinstance(ctx.channel, d.channel.TextChannel) else 'DMs', error))
|
||||
await exc.send_error(ctx, error)
|
||||
|
|
Loading…
Reference in a new issue