1.0.0 • Published 2 years ago
discord-musicbot-develop v1.0.0
🚧 | Prerequisites
📝 | Tutorial
Written Setup
- Follow the installation procedure for the bot
- Do keep in mind that this is the ONLY part of the tutorial that you need to follow from the original repo, which is the core of the bot
For everything else:
- Make sure you have Docker (and GNU Make) installed on your machine
- If you are planning on running the bot through docker on windows, then you'll have to use WSL and set up the appropriate docker configurations for that (click here)
- Open a terminal session in in the root directory of the project
- Run
make helpto see the list of available commands- If you don't have or can't install makefile utilities then run
./dc.sh help - If you're having trouble running the script due to lack of permissions be sure to
chmod +x dc.sh
- If you don't have or can't install makefile utilities then run
Docker setup
- Run
make upto start the docker environment with all services active- Use
make up helpfor a list of available sub commands
- Use
- Run
make logto see the logs of all services at once- You can exit them at any time without closing the process by pressing
Ctrl + C
- You can exit them at any time without closing the process by pressing
- If you don't want a particular service to start up on
make upyou can simply add anoflag to the command. For example:make up nodbwill start the docker environment without the DB.make up nollwill start the docker environment without the lavalink server.make up nofewill start the docker environment without the frontend.Note: you can use any combination of the flags above to start the docker environment with only the services you want.
Lite version
The bot also supports a lite version to run the bot without docker. This is useful for development and testing purposes as well as potato machines.
- Run
make lite helpfor a list of available sub commands Contrary to themake upcommand, themake litecommand will only start the bot, without any additional services. - To add additional services you can use the
make litewith the following flags:make lite dbto start the DBmake lite llto start the lavalink servermake lite feto start the frontend
Local setup
Run
make up no-dockerto start the bot locally (on your maching, without virtualization and thus extended services)Run
make up helpto see the list of available commands and options- Remember to remove the DB related environment variables from the
./djs-bot/.envfile if you are not using the DB at all.
📝 | Support Server
If you have major coding issues with this bot, please join and ask for help.
📸 | Screenshots
Soon
🚀 | Deploy
- No deployment options have been configured yet
✨ | Contributors
Contributions are always welcomed :D Make sure to follow Contributing.md
🌟 | Made with
- Discord.js
- Lavalink with erela.js, Cosmicord.js
1.0.0
2 years ago