I'm making a map loader that relies on attachments and .txt files. I could do it with normal text, but since Discord has a character limit for each message, it doesn't work.
That's why I want to download message attachments on my local machine to process them further.
How can I download attachments from Discord messages using fs?