- Get Node.js
- Open command line prompt in project directory
- Run
npm install --global --production windows-build-tools
(if on Windows) - Run
npm install --save discord.js node-opus erlpack uws libsodium-wrappers node-mysql ytdl-core youtube-search get-json
- Install FFMPEG
- Rename
configTemplate.js
toconfig.js
and fill in the appropriate keys/tokens. - Install mysql-server and create a database (and user if you like).
- Run the bot with
node bot.js
The token in config.js is supposed to be super secretive. It contains all the passwords and tokens that are unique to your bot.
- Go to https://discordapp.com/developers/applications/me.
- Go through the steps of creating a new application
Find in-depth guide here - Replace the token with your own token and run it.