A bot for playing youtube, soundcloud and more on Discord voice chat channels.
You will need a 64-bit OS for running this on, since node-opus does not support 32-bit operating systems.
- Install nodejs and npm.
npm installin the directory the bot is in
- Open bot.js and fill in the username and password for the bot
- Run it!
Finding the channel ids
Finding the text channel ID is fairly easy, just use the last number in the URL.
Then, from the highlighted section, copy the text after the $ and before the dot.
<span class="channel-name" data-reactid=".0.1.1.0.22.214.171.124.0.3.$127861585304616960.0.1">The Men's Room (AFK)</span>
If you get an error related to ffmpeg, make sure it is installed (https://www.ffmpeg.org/) and added to your PATH.