Giter Club home page Giter Club logo

music-bot's Introduction

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.

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: {
        token: 'XXX',
        playing: 'by Zerio โค๏ธ',
        global: true,
        guild: 'xxx'
    },

    opt: {
        DJ: {
            enabled: false,
            roleName: 'XXX',
            commands: []
        },
        maxVol: 100,
        leaveOnEnd: true,
        loopMessage: false,
        spotifyBridge: true,
        defaultvolume: 75,
        discordPlayer: {}
    }
};

Basic configuration

  • app/token, the token of the bot available on the Discord Developers section
  • app/playing, the activity of the bot
  • app/global, whether the commands will work on all servers or just one (if global they might take up to an hour to show up)
  • app/guild, the guild the slash command will be loaded to (this only applys if global is set to false)

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/leaveOnEnd, if the bot will leave on finishing the queue
  • opt/loopMessage, if the message that a music is played should be sent when it is looped
  • opt/spotifyBridge, takes spotify songs/playlists and searches it on youtube and plays it (highly recommended)
  • opt/defaultvolume, is the defaul volume the queue will start at
  • 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.6) 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.

๐Ÿ“ ToDo

  • lyrics command

  • Vote to skip command ZerioDev#187

  • history commnad

  • auto autocomplete (play, search, filters, ect)

  • better button option's

  • more config's for discord player

music-bot's People

Contributors

zeriodev avatar androz2091 avatar revot334 avatar swarwerth avatar johannes7k75 avatar y0rune avatar nikki-devil avatar tonyg433 avatar chemical-tourist-18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.