Fixed missing parenthises on line 50
This commit is contained in:
parent
66f4c5e633
commit
eb182a3040
2
bot.py
2
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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue