kord_

a self-hostable discord music bot. node.js and discord.js v14, with audio served by your own lavalink node.

get it on github self-host in 2 minutes

what it does

commands

/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 /resumepause or resume
/skip /skipto /previousmove around the queue
/queue /nowplaying /songinfosee what's playing and what's next
/shuffle /loop /volumeshuffle, loop the song or queue, set volume
/filter <preset>apply an audio filter
/lyricslyrics for the current song
/favorite /favoritessave songs and queue them from a menu
/leaderboardtop requesters in the server
/ask /explainask kord anything, or explain the current song
/songtriviaa fact about the song or artist, from wikipedia
/configdefault volume, autoplay and dj role
/stop /disconnectstop and clear, or leave the channel

self-host

# 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.