Coder Social home page Coder Social logo

bottenanna's Introduction

Music bot for Discord

A (simple) music bot for Discord that can play music from YouTube. Add it to your server here!

Development

Written with Discord.js

Built and run with Node.js

Requirements

To host the bot Node.js must be installed. Furthermore two tokens are needed:

A Discord Bot token set in a token.js file in root folder:

exports.TOKEN = "token";

A YouTube Data API key set in a apikey.js file in root folder:

exports.GOOGLE_API_KEY = "";

Install & run

First install dependencies with npm run install in folder.

Then run the bot with node .

Usage

Prefix: y!

Commands:

play         - plays link or searches on YouTube - adds to queue if already playing

stop         - stops the current song

pause       - pauses playing

resume     - resumes playing

playing   - shows the current song playing

q               - shows what's in the queue

shuffle   - shuffles the queue

volume     - sets volume between 0 and 100%

fade         - fades the volume to between 0 and 100%

Todos:

  • Saving playlists and queues

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.