Skip to content

Commit

Permalink
Update Setup.md
Browse files Browse the repository at this point in the history
Clarified MONGO_URI env settings.
  • Loading branch information
AlexInCube committed Sep 21, 2024
1 parent 95bb46b commit 54a568c
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions wiki/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,31 @@ Also you need retrieve token, client id and enable intents on Discord Developer
- (Optional) To get Yandex Music token, follow the [Yandex Music](https://github.com/AlexInCube/AlCoTest/wiki/API-Configure#yandex-music-optional) section.
- (Optional) To get SoundCloud token, follow the [Soundcloud](https://github.com/AlexInCube/AlCoTest/wiki/API-Configure#soundcloud-optional) section.
- (Optional) To get Genius token, follow the [Genius](https://github.com/AlexInCube/AlCoTest/wiki/API-Configure#genius-optional) section.

| Name | Example | Description | Required |
|------------------------------|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------|----------|
| `BOT_VERBOSE_LOGGING` | false | The bot will give more info to the console, useful for debugging ||
| `BOT_FFMPEG_LOGGING` | false | The bot will give info about FFMPEGto the console, useful for debugging ||
| `BOT_COMMAND_PREFIX` | // | Used only for text commands | ✔️ |
| `BOT_MAX_SONGS_IN_QUEUE` | 500 | Define max songs count per queue ||
| `BOT_MAX_SONGS_HISTORY_SIZE` | 60 | Define max songs history per guild, set to 0 if you want to disable history (this will not delete history in database which already exists) ||
| `BOT_LANGUAGE` | en | Supported values: en ru ||
| `MONGO_URI` | mongodb://mongo:27017 | The public key for sending notifications | ✔️ |
| `MONGO_DATABASE_NAME` | aicbot | Database name in MongoDB | ✔️ |
| `BOT_DISCORD_TOKEN` | ODEzNzUwMTY1N... | Token from Discord Developer Portal | ✔️ |
| `BOT_DISCORD_CLIENT_ID` | 813750165783... | Application ID from Discord Developer Portal | ✔️ |
| `BOT_DISCORD_OVERPOWERED_ID` | 29016845994426.... | Discord bot owner user ID, required for having more bot control for owner | ✔️ |
| `BOT_GOOGLE_EMAIL` | | Used to automate cookies fetching for YouTube ||
| `BOT_GOOGLE_PASSWORD` | | Used to automate cookies fetching for YouTube ||
| `BOT_SPOTIFY_CLIENT_SECRET` | | Used when the Spotify module cannot get the credentials automatically ||
| `BOT_SPOTIFY_CLIENT_ID` | | Used when the Spotify module get the credentials automatically ||
| `BOT_YANDEXMUSIC_TOKEN` | | Provide to enable Yandex Music module ||
| `BOT_YANDEXMUSIC_UID` | | Provide to enable Yandex Music module ||
| `BOT_SOUNDCLOUD_CLIENT_ID` | | Provide to fetch more data with SoundCloud Go+ account ||
| `BOT_SOUNDCLOUD_TOKEN` | | Provide to fetch more data with SoundCloud Go+ account ||
| `BOT_GENIUS_TOKEN` | | Provide to fetch songs lyrics from Genius ||
- (Optional) To get VKontakte token, follow the [VKontakte](https://github.com/AlexInCube/AlCoTest/wiki/API-Configure#vkontakte-optional) section.

| Name | Example | Description | Required |
|------------------------------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|----------|
| `BOT_VERBOSE_LOGGING` | false | The bot will give more info to the console, useful for debugging ||
| `BOT_FFMPEG_LOGGING` | false | The bot will give info about FFMPEG to the console, useful for debugging ||
| `BOT_COMMAND_PREFIX` | // | Used only for text commands | ✔️ |
| `BOT_MAX_SONGS_IN_QUEUE` | 500 | Define max songs count per queue ||
| `BOT_MAX_SONGS_HISTORY_SIZE` | 60 | Define max songs history per guild, set to 0 if you want to disable history (this will not delete history in database which already exists) ||
| `BOT_LANGUAGE` | en | Supported values: en ru ||
| `MONGO_URI` | Docker: mongodb://aicbot-mongo:27017 or Local: mongodb://localhost:27017 | IP address of MongoDB | ✔️ |
| `MONGO_DATABASE_NAME` | aicbot | Database name in MongoDB | ✔️ |
| `BOT_DISCORD_TOKEN` | ODEzNzUwMTY1N... | Token from Discord Developer Portal | ✔️ |
| `BOT_DISCORD_CLIENT_ID` | 813750165783... | Application ID from Discord Developer Portal | ✔️ |
| `BOT_DISCORD_OVERPOWERED_ID` | 29016845994426.... | Discord bot owner user ID, required for having more bot control for owner | ✔️ |
| `BOT_GOOGLE_EMAIL` | | Used to automate cookies fetching for YouTube ||
| `BOT_GOOGLE_PASSWORD` | | Used to automate cookies fetching for YouTube ||
| `BOT_SPOTIFY_CLIENT_SECRET` | | Used when the Spotify module cannot get the credentials automatically ||
| `BOT_SPOTIFY_CLIENT_ID` | | Used when the Spotify module get the credentials automatically ||
| `BOT_YANDEXMUSIC_TOKEN` | | Provide to enable Yandex Music module ||
| `BOT_YANDEXMUSIC_UID` | | Provide to enable Yandex Music module ||
| `BOT_VKONTAKTE_TOKEN` | | Provide to fetch songs from VKontakte ||
| `BOT_SOUNDCLOUD_CLIENT_ID` | | Provide to fetch more data with SoundCloud Go+ account ||
| `BOT_SOUNDCLOUD_TOKEN` | | Provide to fetch more data with SoundCloud Go+ account ||
| `BOT_GENIUS_TOKEN` | | Provide to fetch songs lyrics from Genius ||

# 🐋 Run in Docker (recommended)

Expand Down

0 comments on commit 54a568c

Please sign in to comment.