Place that same information we grabbed from the steps above in their matching lines This is where you will be entering the client token, client ID, client secret, and MongoDB URL from earlier steps.
Place the information gathered into their matching lines after the = for each respective line.
Rename the .env.example file to .env
Example:
## Bot Info
token=MTIwMTkzMzQ2NjkwOTAzNjYyNA.GuwpI7.2TGX8DHhKasdfasdfasdfasrfXAKA ## Bot token
clientUsername=Phonic ## Bot name
clientId=120112312316909036624 ## Bot clientId
clientSecret=BHIylL6fsfsdfsdfsdfsdfs5n7o29FipI2E ## Bot clientSecret
## Owner Info
userId=147691123123123121792 ## Owner userId
## Bot Settings
mongoUrl=mongodb+srv://username:[email protected]/MusicBot ## Mongodb url for database
prefix=? ## Default prefix is set to "?" use prefix command to change
embedColor=2F3136 ## You can any HEX Color for embed color but without the "#"
geniusToken=abcdefghijklmnopqrstuvwxyz12345678lsslajnc ## Genius token use to fetch lyrics, you can leave it blank.
Lavalink has most likely started. The health check condition depends on the application to start and accept connections. Sometimes the Lavalink container can take longer than the health check allows to start up. This will cause the MusicBot container to not start.
Solution: Open Docker Desktop, click the Play button to start the musicbot container, always check the logs to see what is going wrong to diagnose further
Docker is not starting when my Windows machine restarts
Open Docker Desktop GUI and go to Settings
Enable Start Docker Desktop when you sign into your computer
I made some changes to my config but the bot they're not reflecting after a container restart!
Open Command Prompt to the directory of your bot and run make clean then make start to see changes