Giter Site home page Giter Site logo

shashwat545 / musx Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 3.34 MB

A discord bot made using discord.js and discord-player

License: GNU General Public License v3.0

Procfile 0.25% JavaScript 99.75%
nodejs javascript open-source npm js bot discord discord-bot discord-js discord-player

musx's Introduction

Gray shape shifter

Musx

A custom discord bot that can play music in your server



demo

๐ŸŽฏ Add the bot to your server

If you are looking for a music bot for your Discord server then go ahead and invite it from here. Visit the website musx.me for more details about the bot. Heroku has been used for hosting the bot online.

NOTE: I had to shut down my bot because it was consuming my Heroku dynos, but you can still use this code to host your own bot.

โšก Commands

Basic commands:
  ping
  help
  author
Music commands:
  play [song name/ song Youtube URL]
  pause
  resume
  stop

๐Ÿš€ Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

You'll need Git and Node.js (which comes with npm) installed on your computer. Apart from this you will need to have a discord account and a server where you are admin. If you don't have any such server then you can simply create a new one for yourself. Finally you will need a discord bot to which you can link this code. You can create one for yourself from the Discord Developer Console.

๐Ÿ”ง How to set up the bot locally for development

From your command line, first clone and then configure the neccessary files and start the server.

# Clone this repository
$ git clone https://github.com/Shashwat545/Musx.git
# Go into the repository
$ cd Musx
# Install dependencies
$ npm install
# Rename .env_sample to .env and put your discord bot token inside it
#After that we start the server
$ node index.js

๐Ÿง‘โ€๐Ÿ’ป Technologies used

๐Ÿ“„ License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details

For the future

If you want to contribute and make this much better for users, please have a look at the structure of the project and style of code to understand the working of the bot properly.

If you can help me with these. Please don't hesitate to open a pull request.

  • Add a search command for song, after which user can select which one to play
  • Add a skip command to skip the currently playing song in queue

If you created something awesome and want to contribute then feel free to open a pull request.

Designed & Developed with โค๏ธ by Shashwat Singh

Give this project a star โญ if you found it interesting

Animated footer bars


Back to top

musx's People

Contributors

shashwat545 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.