Setup Guide¶
Install Python¶
- Vocard requires Python 3.11 or higher.
- Follow the guidelines here: Installing Python.
Install Lavalink¶
Note
Lavalink is essential for processing and streaming audio to Discord. Without a Lavalink server, you won't be able to play music on Vocard. You can either host your own server or use a public Lavalink server from this Public Lavalink Website.
- Vocard requires Lavalink v4.
- For detailed steps on installing Lavalink, visit the Lavalink Offical Website.
Download Vocard Bot¶
with git¶
- Clone the repository:
- Go to the directory:
- Install required packages, ideally by using a virtual environment:
After installing all packages, you must configure the bot before starting.
with docker recommended¶
Utilizing the official Docker image enables a quick setup, as it conveniently includes all necessary dependencies. To get started, simply pull the image using a terminal command:
- Configure the bot before starting the docker containers.
- Start the Docker containers in detached mode:
Configuration¶
- Rename
settings Example.json
tosettings.json
and customize your settings. -
Now, you can start your bot with
python main.py
.