Answer the question
In order to leave comments, you need to log in
How to make the bot wait for the user to attach a file, and then save it to discord.py?
You need to make sure that the bot waits for 60 seconds until the user sends a picture. After that, the bot must save it to the root folder with the file. discord.py library
for attach in mag5.attachments:
await attach.save(f"./{message.author.id}.png")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question