A bot for our Discord server.
I do not guarantee stability when used on any other server, though it should work.
node.js
discordjs, discordjs/opus, discordjs/voice, discordjs/rest, discord-api-types
sodium, cron-schedule, node-fetch, ffmpeg, mysql2, luxon, winston
Uses mysql for storage of song information and playcount data, as well as recently played songs, and queues.
apt-get install ffmpeg
Edit .bashrc
and add export PATH="/usr/bin/ffmpeg:$PATH"
assuming ffmpeg was installed in the default location
source .bashrc
to save PATH
apt-get install libtool-bin libtool autoconf automake npm
npm install -g n
to install node
npm install pm2 -g
npm install
for most other dependencies
Rename example.config.json
and example.voice-servers.json
to remove the example.
and fill in your information.
node deploy.js
- to deploy slash commands
node index.js
- to run bot
username13 for doing all the heavy lifting.
FS(@swiftlyanerd), Adam (@louistio), Historicc (@richmoj3), and Donran (@Donran).
https://web.archive.org/web/20200905223005/https://github.com/richmoj3/Red-Bot