a self-hostable single-guild discord bot for playing music and announcing vc channel joins/leaves
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
a 2352c101bc Update 'cogs/music.py' 2 months ago
cogs Update 'cogs/music.py' 2 months ago
.env.example add docker support 6 months ago
.gitignore Modern packaging 6 months ago
.style.yapf first commit 12 months ago
Dockerfile support more dice notation 5 months ago
README.md add ffmpeg and docker compose to readme 6 months ago
app.py Modern packaging 6 months ago
docker-compose.yml allow docker compose container to restart on host reboot 4 months ago
icon2.png first commit 12 months ago
pdm.lock support more dice notation 5 months ago
pyproject.toml Modern packaging 6 months ago
requirements.txt Modern packaging 6 months ago

README.md

umi

a self-hostable single-guild discord bot for playing music and announcing vc channel joins/leaves

Pre-requisites

Install dependencies:

  • FFI: libffi
  • NaCl: libnacl or libsodium
  • FFmpeg: ffmpeg

Copy .env.example to .env:

  • DISCORD_BOT_TOKEN is obtained from the Discord Developer Dashboard

    • Click or create an application
    • Get your token from the "Bot" section in the sidebar menu
  • DISCORD_GUILD_ID is obtained from within the Discord app

    • Settings > Advanced > Developer Mode: enabled
    • Right click the guild and select "Copy ID"
  • DISCORD_BOT_ADMIN_ROLE_ID for reloading cogs

  • DISCORD_BOT_ADMIN_USER_ID for reloading cogs

  • DISCORD_VCJOIN_CHANNEL for the VCJoin cog

Setup

...with PDM

pdm install --prod
pdm run python app.py

...with requirements.txt and virtualenv

virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py

...with Docker Compose

docker compose build
docker compose up -d