How can i attach an mp3 file to a message?

How can i attach an mp3 file to a message?
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
samp
samp2y ago
const file1 = new AttachmentBuilder(“./folder/example.mp3”);
const file2 = new AttachmentBuilder(“./folder/subfolder/example2.mp3”);


interaction.reply( {content: “msg”, files: [file1, file2…] } );
const file1 = new AttachmentBuilder(“./folder/example.mp3”);
const file2 = new AttachmentBuilder(“./folder/subfolder/example2.mp3”);


interaction.reply( {content: “msg”, files: [file1, file2…] } );
Want results from more Discord servers?
Add your server