Skip to content

A complete code to download for a cool Discord music bot !

License

Notifications You must be signed in to change notification settings

kennotklee/Music-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !

Fork of https://github.com/ZerioDev/Music-bot

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.

module.exports = {
    app: {
        px: 'XXX',
        token: 'XXX',
        playing: 'by Zerio ❤️'
    },

    opt: {
        DJ: {
            enabled: false,
            roleName: 'XXX',
            commands: []
        },
        maxVol: 100,
        loopMessage: false,
        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 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/loopMessage, if the message that a music is played should be sent when it is looped
  • opt/discordPlayer, options used by discord-player

📑 Installation

To use the project correctly you will need some tools.

FFmpeg to process audio

Node JS (v16) for environment

Without forgetting of course the code editor ^^

Realized with ❤️ by 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.

About

A complete code to download for a cool Discord music bot !

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%