How do I get my bot to send an mp3 file in a message?

if(message.content === “Paul boss”) {’./app/assets/audio/Final Fantasy VII Advent Children - One Winged Angel (Music).mp3’)

you could do something like this:

const mp3 = new Discord.MessageAttachment(<filepath here>, <name of sent file>);;

not 100% sure if this is the best way to do it, but it should work

1 Like