![](logo.png)
Designed to be a simple discord bot that play audios, inspiration is taken from the original Rythm bot.
All commands are slash commands and are self-documenting, regardless here are some examples.
/play query: naruto opening 16
/play query: chocolate insomnia autoplay: true
The play
command has three options.
autoplay
Continuously play songs without user querys, once enabled disconnect the bot to disablenext
If this track should be put at the front of the queuestart_time
Time stamp to start the video at, for example1:34
or1:21:19
- First create a
.env
with all the the following variables
#discord bot
DISCORD_TOKEN=
# no jala
COMMAND_PREFIX=!
DATABASE_DATABASE=postgres
DATABASE_USER=postgres
DATABASE_HOST=postgres #docker only
#DATABASE_HOST=localhost #local only
DATABASE_PORT=
DATABASE_PASSWORD=postgres
LAVALINK_HOST=lavalink #docker only
#LAVALINK_HOST=localhost #local only
LAVALINK_PORT=2333
LAVALINK_PASSWORD=password
#postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
#pgadmin
PGADMIN_DEFAULT_EMAIL=
PGADMIN_DEFAULT_PASSWORD=
PGADMIN_PORT=
- Comment out the local lines in
.env
- Run
docker compose up -d
- Comment out docker lines in
.env
- Comment out the
discord-bot
container indocker-compose.yml
- Run
docker compose up -d
- Run
pip3 install -r requirements.txt
- Start the discord bot with
python3 src/main.py