Send system json file in DMs instead of publicly
This commit is contained in:
parent
dfa5706646
commit
8f2f8d7d67
@ -94,7 +94,7 @@ async def export(ctx: CommandContext):
|
||||
await working_msg.delete()
|
||||
|
||||
f = io.BytesIO(json.dumps(data).encode("utf-8"))
|
||||
await ctx.message.channel.send(content="Here you go!", file=discord.File(fp=f, filename="pluralkit_system.json"))
|
||||
await ctx.message.author.send(content="Here you go!", file=discord.File(fp=f, filename="pluralkit_system.json"))
|
||||
|
||||
|
||||
async def tell(ctx: CommandContext):
|
||||
|
Loading…
Reference in New Issue
Block a user