This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
legacy-musicbot/README.md
2021-09-23 22:22:33 +02:00

66 lines
1.9 KiB
Markdown

# Music-bot
A complete code to download for a music bot 🎧
Looking for a code for a music bot ? This fully open source code is made for your project !
If you need help with this project, to get support faster you can join the help server by just clicking [here](https://discord.gg/5cGSYV8ZZj).
*If you don't have any development knowledge, it is recommended to join the Discord support server to get help.*
### ⚡ Configuration
Open the configuration file located in the main folder `config.js`.
```js
module.exports = {
app: {
px: 'XXX',
token: 'XXX',
playing: 'by Zerio ❤️',
},
opt: {
DJ: {
enabled: false,
roleName: 'XXX',
commands: []
},
maxVol: 100,
discordPlayer: {}
}
};
```
Basic configuration
- `app/px`, the prefix that will be set to use the bot
- `app/token`, the token of the bot available on the [Discord Developers](https://discordapp.com/developers/applications) section
- `app/playing`, the activity of the bot
DJ mode configuration
- `opt/DJ/enabled`, whether the DJ mode should be activated or not
- `opt/DJ/roleName`, the name of the DJ role to be used
- `opt/DJ/commands`, the list of commands limited to members with the DJ role
Advanced configuration
- `opt/maxVol`, the maximum volume that users can define
- `opt/discordPlayer`, options used by discord-player
### 📑 Installation
To use the project correctly you will need some tools.
[FFmpeg](https://www.ffmpeg.org) to process audio
[Node JS](https://nodejs.org/en/) (v16) for environment
Without forgetting of course the code editor ^^
Realized with ❤️ by [ZerioDev](https://github.com/ZerioDev).
Please do not withdraw the license and keep the credits on this project.
To have full access to the project and to be able to withdraw the credits a small donation is accepted.