2 Commits

2 changed files with 3 additions and 0 deletions

View File

@@ -92,6 +92,8 @@ class Data(commands.Cog):
}
)
# Temporary file must be written synchronously,
# otherwise it will not be there when ctx.respond() is be called
json_write(users, Path(f"tmp/{uuid}"))
await ctx.respond(file=File(Path(f"tmp/{uuid}"), filename="users.json"))

View File

@@ -6,5 +6,6 @@ aiofiles~=24.1.0
apscheduler>=3.10.0
async_pymongo==0.1.11
libbot[speed,pycord]==4.0.0
typing-extensions~=4.12.2
ujson~=5.10.0
WaifuPicsPython==0.2.0