Giter VIP home page Giter VIP logo

music-bot's Introduction

Project overview

As a core contributor to discord-player, I've dedicated significant time and effort to this project. My familiarity with the core principles of discord-player has allowed me to incorporate many of its concepts and best practices into this project, serving as a valuable reference for library users. I've strived to ensure the project is user-friendly and intuitive. Your suggestions and feedback are always welcome - feel free to open an issue or submit a pull request.


Music Bot

A complete example of a discord music bot including database, web dashboard, and more powered by discord.js and discord-player.

Features

  • Easy to use
  • Customizable
  • Covers most of the concepts as well as best practices of discord-player
  • Slash commands
  • Web dashboard
  • Custom playlists management
  • Queue management
  • Persistent configurations
  • Equalizer

and more...

Setting up the bot

Setup with Docker

  • TODO

Manual setup

  • Run pnpm install --frozen-lockfile to install all dependencies

Starting the bot

  • Rename .env.example to .env and fill out the values
  • Put your bot token in DISCORD_TOKEN
  • Put mongodb database credentials in DATABASE_URL (You can get one for free from Mongodb Atlas)
  • Put your redis config in REDIS_* (you can use memurai for windows)
  • Run pnpm bot dev to start the bot in development mode

Starting the website

  • Rename .env.example to .env and fill out the values
  • Run pnpm run --filter web dev to start the website in development mode

You can now use /web command to get magic link to the website. You are able to add songs to the queue, skip songs, change volume and more from the website itself. You can also do this from Discord using slash commands.

Web Interface

Support me on Patreon

If you like this project, consider supporting me on Patreon. This will help me to keep working on projects like this and make them even better.

Patreon

music-bot's People

Contributors

twlite avatar takeshi7502 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.