Sort file
This commit is contained in:
parent
5c45550184
commit
c592146efb
8
main.py
8
main.py
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user