1
0
Fork 0
mirror of synced 2024-05-06 21:52:30 +12:00

Fixed missing parenthises on line 50

This commit is contained in:
Phxntxm 2016-07-09 08:24:26 -05:00
parent 66f4c5e633
commit eb182a3040

2
bot.py
View file

@ -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))