Sort file
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
sclement 2023-10-30 16:55:16 +01:00
parent 5c45550184
commit c592146efb

View File

@ -45,10 +45,10 @@ async def on_message(message: discord.Message):
int(match.group("id")), tmp_dir, REFRESH_TOKEN
)
files = os.listdir(tmp_dir)
files.reverse()
await send_message.send_message_with_embed(
message, files, title, tmp_dir, match.group("url")
)
files.sort()
# await send_message.send_message_with_embed(
# message, files, title, tmp_dir, match.group("url")
# )
await send_message.send_message(message, files, tmp_dir)