Various bug fixes

This commit is contained in:
Ske
2018-11-08 16:25:58 +01:00
parent 3fca071c1d
commit f4512fc7e9
4 changed files with 26 additions and 25 deletions

View File

@@ -88,4 +88,4 @@ async def export(ctx: CommandContext):
}
f = io.BytesIO(json.dumps(data).encode("utf-8"))
await ctx.client.send_file(ctx.message.channel, f, filename="system.json")
await ctx.message.channel.send(content="Here you go!", file=discord.File(fp=f, filename="system.json"))