A discord bot to play 10s of a song when you join a discord voice channel.
- Intro music
- Can text-to-speech in your current voice channel
- Generate a spongebob meme
- Generate a duel links duel room
- Search for anime (WIP)
-
Install
nvm
: https://github.com/nvm-sh/nvm. -
Install and make sure ffmpeg is in your path: Windows or Linux.
-
First off you need a discord bot set up in your developer account. Read more about how to set that up here.
-
You will also need an elephantsql account, this is the easiest way to get a postgres database. Feel free to use postgres locally if you have it already. The application expects 1 table ("users") with the following schema:
uid=text
url=text
duration=int (default 12)
- Create a
.env
file with the following contents:
DISCORD_TOKEN=...
DB_URL=...
NODE_ENV=development
-
nvm use
andnpm install
. -
Finally
npm run start-bot
.