v0.3.0 #28

Merged
profitroll merged 4 commits from dev into main 2025-02-16 18:47:09 +02:00
Showing only changes of commit 226721bb62 - Show all commits

View File

@ -90,13 +90,14 @@ class Data(commands.Cog):
{
"id": member.id,
"nick": member.nick,
"username": f"{member.name}#{member.discriminator}",
"username": f"{member.name}",
"bot": member.bot,
}
)
# Temporary file must be written synchronously,
# otherwise it will not be there when ctx.respond() is be called
# TODO Find a way to give this file to Pycord without FS operations
json_write(users, Path(f"tmp/{uuid}"))
await ctx.respond(file=File(Path(f"tmp/{uuid}"), filename="users.json"))