3 Replies
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
new AttachmentBuilder(buffer, { name })
Then you send that with channel.send({ files: [attachment] })
The buffer could be
Buffer.from("text...")
It could also not be a buffer and just be a file path/urlAh sweet thank you!