a self-hostable single-guild discord bot for playing music and announcing vc channel joins/leaves
Go to file
a da7df0fc45 add docker support
fix buffered output and missed var name

fix missing comma

change dockerfile to install ffmpeg and dependencies on top of archlinux

fix pacman not syncing

fix pacman not syncing

fix pacman not autoconfirming

fix missing pip
2022-12-12 06:59:44 -06:00
cogs add docker support 2022-12-12 06:59:44 -06:00
.env.example add docker support 2022-12-12 06:59:44 -06:00
.gitignore Modern packaging 2022-12-12 06:59:21 -06:00
.style.yapf first commit 2022-06-23 00:09:34 -05:00
app.py Modern packaging 2022-12-12 06:59:21 -06:00
docker-compose.yml add docker support 2022-12-12 06:59:44 -06:00
Dockerfile add docker support 2022-12-12 06:59:44 -06:00
icon2.png first commit 2022-06-23 00:09:34 -05:00
pdm.lock Modern packaging 2022-12-12 06:59:21 -06:00
pyproject.toml Modern packaging 2022-12-12 06:59:21 -06:00
README.md add docker support 2022-12-12 06:59:44 -06:00
requirements.txt Modern packaging 2022-12-12 06:59:21 -06:00

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

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 pipenv

pipenv install
pipenv run python app.py

....and virtualenv

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