a self-hostable discord music bot. node.js and discord.js v14, with audio served by your own lavalink node.
| /play <query> | play a link or search, or add it to the queue |
| /playnext <query> | queue a song right after the current one |
| /search <query> | search and pick from a list of results |
| /pause /resume | pause or resume |
| /skip /skipto /previous | move around the queue |
| /queue /nowplaying /songinfo | see what's playing and what's next |
| /shuffle /loop /volume | shuffle, loop the song or queue, set volume |
| /filter <preset> | apply an audio filter |
| /lyrics | lyrics for the current song |
| /favorite /favorites | save songs and queue them from a menu |
| /leaderboard | top requesters in the server |
| /ask /explain | ask kord anything, or explain the current song |
| /songtrivia | a fact about the song or artist, from wikipedia |
| /config | default volume, autoplay and dj role |
| /stop /disconnect | stop and clear, or leave the channel |
# needs docker. fill in BOT_TOKEN and LAVALINK_PASSWORD at least
git clone https://github.com/s4chdev/kord.git
cd kord
cp .env.example .env
docker compose up -d --build
docker compose logs -f kord
compose runs lavalink next to the bot and wires it up for you. prefer node and pm2? the readme has the full setup, discord app steps and every env var.