npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

music-bot

v6.0.0

Published

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

Downloads

5

Readme

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 https://github.com/ZerioDev/Music-bot/issues/187

  • [ ] history commnad

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

  • [ ] better button option's

  • [ ] more config's for discord player