Skip to content

Installation

Natively

First thing, we need to install some packages

sudo apt install build-essential golang-go git yt-dlp ffmpeg libopus-dev -y

After installation is done, we can clone the repo with

git clone https://github.com/TheTipo01/YADMB

Enter the directory, and build the bot

cd YADMB
go build

libdave is now required, you can use the script over at disgoorg/godave to quickly install the required libraries

wget https://raw.githubusercontent.com/disgoorg/godave/refs/heads/master/scripts/libdave_install.sh
chmod +x libdave_install.sh
./libdave_install.sh v1.1.0

Final things:

  • make sure your PKG_CONFIG_PATH has been correctly updated with the new libdave library
  • modify the example_config.yml, adding all required tokens and renaming it to config.yml
  • for info about creating and adding the bot, see the following page

Docker

  • Clone the repo
  • Modify the example_config.yml, by adding your discord bot token (see here if you don't know how to do it)
  • Rename it in config.yml and move it in the data directory
  • Run docker-compose up -d
  • Enjoy your YADMB instance!

Note: the docker image is available on Docker hub, Quay.io and Github packages.