From eb182a30407156feaffef8163ef6b2f40235cd35 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 9 Jul 2016 08:24:26 -0500 Subject: [PATCH] Fixed missing parenthises on line 50 --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 88fc006..0226537 100644 --- a/bot.py +++ b/bot.py @@ -46,7 +46,7 @@ async def on_member_remove(member): async def on_command_error(error, ctx): if isinstance(error,pymysql.OperationalError): config.resetConnection() - await bot.say("The connection to the MySQL server was lost! Please try your command one more time {}".format(ctx.message.author.mention) + await bot.say("The connection to the MySQL server was lost! Please try your command one more time {}".format(ctx.message.author.mention)) fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```' await bot.say(fmt.format(type(e).__name__, e))