Just stuffing random commands into this... :shrek:
NodeJS and Discord.js
Do npm install discord.js
to get Discord JS
Download NodeJS from https://nodejs.org
Run the following in the bot directory in CMD as admin to get the music playback to work. This is not required to run the bot.
-npm install --global --production --vs2015 --add-python-to-path windows-build-tools
You may do npm i
or install each one from below.
-npm install ytdl-core
-npm install @discordjs/opus
-npm install node-opus
-npm install opusscript
-npm install ffmpeg
-npm install ffmpeg-static
Thanks to @WerWolv for helping me set some of the code up and helping when I couldn't figure out the errors
Thanks to @hax4dazy for figuring out things and making stuff work