From 1fac729e83894abec9de78ceea8b86532723ce7f Mon Sep 17 00:00:00 2001 From: Helixu Date: Sat, 18 Dec 2021 11:35:29 +0000 Subject: [PATCH] oops i broke thingies --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 659f5b8..46c90b5 100644 --- a/bot.py +++ b/bot.py @@ -182,8 +182,8 @@ async def meme(ctx): try: ping.verbose_ping('shitfest.net', count=5) delay = ping.Ping('shitfest.net', timeout=2000).do() - except socket.error, e: - await ctx.send("An error has occured with this command. ", e) + except: + await ctx.send("An error has occured with this command.") async with aiohttp.ClientSession() as session: async with session.get('https://api.shitfest.net/v2/random.php') as resp: json = await resp.json()