Backup #16

Merged
cswimr merged 41 commits from backup into main 2024-01-31 15:58:08 -05:00
Showing only changes of commit 52f8439383 - Show all commits

View file

@ -64,7 +64,7 @@ class Backup(commands.Cog):
if not len(ctx.message.attachments) == 0:
export = await ctx.message.attachments[0].read()
try:
export = json.loads(json)
export = json.loads(export)
except json.JSONDecodeError:
await ctx.send(error("Please provide a valid JSON export."))
return