From 301a47cdd345fbce8731cd940207e85b2c7f58bd Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 1 Nov 2019 17:02:30 -0400 Subject: [PATCH] updatesd console display --- r0b3bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/r0b3bot.py b/r0b3bot.py index 5b7b428..d38e38d 100644 --- a/r0b3bot.py +++ b/r0b3bot.py @@ -43,10 +43,8 @@ async def on_command_error(error, ctx): await bot.send_message(ctx.message.channel, msg) else: print('Oopsie, I found an error...') - print('Channel:') - print(ctx) - print('Error:') - print(error) + print(f"Channel: {ctx.channel}") + print(f"Error: {error}") @bot.event async def on_ready():