Update database bot.py

This commit is contained in:
insert-usernamehere 2021-01-28 20:41:40 -05:00 committed by GitHub
parent e99ceb015f
commit 349be06a2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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