So I was making a bot to screw around with on my server, and I wanted it to play in the voice channel. I went to this website: Handling Audio and copied the code. I added the variables at the top, changed the filename so everything matched up, and after that didn't work tried some other things. There was no errors when I ran node bot.js in Powershell, the bot joined the audio channel, and simply didn't play the audio. I have ffmpeg installed and followed this tut: Install FFmpeg, and have no idea what I did wrong.
Please help. The bot.js file is included below.
bot.txt
So I was making a bot to screw around with on my server, and I wanted it to play in the voice channel. I went to this website: Handling Audio and copied the code. I added the variables at the top, changed the filename so everything matched up, and after that didn't work tried some other things. There was no errors when I ran
node bot.js
in Powershell, the bot joined the audio channel, and simply didn't play the audio. I have ffmpeg installed and followed this tut: Install FFmpeg, and have no idea what I did wrong. Please help. The bot.js file is included below. bot.txt