izy521 / discord.io

A small, single-file library for creating DiscordApp clients from Node.js or the browser
https://discord.gg/0MvHMfHcTKVVmIGP
MIT License
535 stars 155 forks source link

Audio playback doesn't work #321

Closed nab138 closed 4 years ago

nab138 commented 4 years ago

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

nab138 commented 4 years ago

uh so, im just gonna switch to discord .js. bye bye