From 349be06a2d974a2e0fc3ef1ebd8b2f1af4b1eb91 Mon Sep 17 00:00:00 2001 From: insert-usernamehere Date: Thu, 28 Jan 2021 20:41:40 -0500 Subject: [PATCH] Update database bot.py --- database bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database bot.py b/database bot.py index f91dd1e..f79d652 100644 --- a/database bot.py +++ b/database bot.py @@ -40,7 +40,7 @@ async def addcharacter(ctx): pass shutil.make_archive('public/characters', 'zip', 'public/singlecharacter') await ctx.send("added to database") - except BaseException: + except Exception: await ctx.send("something went wrong! this probably means you didn't attach a file or discord api is broken") @@ -63,7 +63,7 @@ async def addsound(ctx): pass shutil.make_archive('public/sounds', 'zip', 'public/singlesound') await ctx.send("added to database") - except BaseException: + except Exception: await ctx.send("something went wrong! this probably means you didn't attach a file or discord api is broken") @client.command()