From acb1e82c964abdb9f28cda2aabc41d6c334cbf4b Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 30 Jun 2020 20:05:31 +0100 Subject: [PATCH] Reformatted code and changing one parameter --- EnsoBot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EnsoBot.py b/EnsoBot.py index b499bc33..c915269e 100644 --- a/EnsoBot.py +++ b/EnsoBot.py @@ -121,8 +121,9 @@ async def marry(ctx, member: Member): # Abort the process as the message sent did not make sense await ctx.send("Senpaiiii! Speak English Please ⋋_⋌") - except asyncio.TimeoutError as e: - print(e) + except asyncio.TimeoutError as ex: + print(ex) + # Send out an error message if the user waited too long await ctx.send("Awww they waited too long (✖╭╮✖)")