-
-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,13 +138,18 @@ Create a `.env` file in the root directory of your project with the following va | |
|
||
```bash | ||
TOKEN="." # Your bot token | ||
PREFIX="!" # Your prefix | ||
OWNER_IDS="859640640640640640, 859640640640640640" # Your ID | ||
CLIENT_ID="960072976412340254" # Your bot client ID | ||
GUILD_ID="859640640640640640" # Your server ID (if you want to use it for a single server) | ||
PRODUCTION="true" # "true" for production | ||
DATABASE_URL="mongodb+srv://Blacky:xxxxxxxxxxxx" # Your MongoDB URL | ||
LAVALINK_URL="lava.moebot.xyz:443" # Your lavalink url | ||
PREFIX= "!" # Your prefix | ||
OWNER_IDS= "" # Your id | ||
CLIENT_ID= "960072976412340254" # Your bot client id | ||
GUILD_ID= "859640640640640640" # Your server Id if you want to use the for single server | ||
PRODUCTION="true" # true for production | ||
SEARCH_ENGINE= "ytsearch" # ytsearch, scsearch or ytmsearch | ||
MAX_PLAYLIST_SIZE= "100" # Max playlist size | ||
MAX_QUEUE_SIZE= "100" # Max queue size | ||
BOT_STATUS= "online" # Your bot status | ||
BOT_ACTIVITY= "Wavemusic" # Your bot activity | ||
DATABASE_URL="mongodb+srv://xxyydd:[email protected]/Bot" ## Your MongoDB URL (add database name at the end) example: mongodb+srv://xxyydd:[email protected]/Bot | ||
LAVALINK_URL="localhost:2333" # Your lavalink url | ||
LAVALINK_AUTH="youshallnotpass" # Your lavalink password | ||
LAVALINK_NAME="Blacky" # Your lavalink name | ||
LAVALINK_SECURE= "true" # true for secure lavalink | ||
|
@@ -239,6 +244,14 @@ Do note that the bot will restart itself to update to the latest! | |
- ![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white) [Docker](https://www.docker.com/) | ||
- ![Docker-Compose](https://img.shields.io/badge/Docker--Compose-2496ED?style=for-the-badge&logo=docker&logoColor=white) [Docker-Compose](https://docs.docker.com/compose/) | ||
|
||
|
||
### Errors | ||
|
||
![image](https://cdn.discordapp.com/attachments/1147388529085780078/1165972143146815518/image_1.png) | ||
|
||
- Fix this error to add database name in end of the `DATABASE_URL` like this `mongodb+srv://xxyydd:[email protected]/Bot` | ||
|
||
|
||
## 📝 Tutorial | ||
|
||
A Tutorial has been uploaded on YouTube, Watch it by clicking [here](https://youtu.be/x5lQD2rguz0) | ||
|