adding details

This commit is contained in:
Mylloon 2021-08-14 19:08:31 +02:00
parent 7bb9bca907
commit 4409408871

View file

@ -6,7 +6,7 @@
You have to replace `TOKEN_DISCORD`, `PREFIX`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLIENT_ID`, `TOKEN_REDDIT_CLIENT_SECRET`, `TOKEN_REDDIT_USER_AGENT` and [`TIMEZONE`](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) with your desired values. You must also specify a path to the folder where the database will be. You have to replace `TOKEN_DISCORD`, `PREFIX`, `TOKEN_GENIUS`, `TOKEN_REDDIT_CLIENT_ID`, `TOKEN_REDDIT_CLIENT_SECRET`, `TOKEN_REDDIT_USER_AGENT` and [`TIMEZONE`](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) with your desired values. You must also specify a path to the folder where the database will be.
With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blob/main/docker-compose.yml) or in command line: With a [docker-compose](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/blob/main/docker-compose.yml) (prefered) or in command line (it may not work):
``` ```
docker run -d \ docker run -d \
--name="Lavalink" \ --name="Lavalink" \
@ -30,6 +30,8 @@ docker run -d \
--restart=unless-stopped --restart=unless-stopped
``` ```
You shouldn't change at least the service name of the Lavalink container because the bot is using his DNS name (and it's based on the service's name).
You can add the environment variable `DEACTIVATE` to disable some cogs (separate the cogs with commas and no spaces between). You can add the environment variable `DEACTIVATE` to disable some cogs (separate the cogs with commas and no spaces between).
You can add the environment variable `REGION_DISCORD` to force the Lavalink server to use your voice region. You can add the environment variable `REGION_DISCORD` to force the Lavalink server to use your voice region.