Giter VIP home page Giter VIP logo

simplified-musicbot's Introduction

simplified-musicbot

A simple Music JS for Discord Music Bots

Simple, no need to be complicated.

How to use? Simple!

Install using NPM Package

npm install simplified-musicbot

And start operating your bot by Login in to Discord

const simple-music-bot = require('simplified-musicbot')
const bot = new simple-music-bot.Bot({token: "TOKEN", prefix: "!", RespondBot: false}) // RespondBot is to decide if the bot will respond to Bots or no

Availabe Functions

  • play(song name, download rate, cookie) Cookie Needed, Your bot could get status Code 429 Error.
  • skip() Skip the current to play the next song
  • queue() Shows a list of songs in line
  • nowplaying() Shows the current Playing Song
  • remove(number) Removes a song from the queue
  • join() Order the bot to join the Voice Channel
  • leave() Order the bot to leave the Voice Channel
  • volume(number) Change the current volume of song
  • loop() Repeats the current Song to play again after it ends
  • stop() Pause the current song from playing
  • resume() Resume the current paused song

How to use the Functions? Simple!

// The code before
bot.play("TokyoVania", 200) // You can add cookie if you don't want to get status Code 429, if that happens you need to wait 3-5 days for it to be able to use again.

How to get Youtube Cookie

  • navigate to YouTube in a web browser
  • open up dev tools (opt+cmd+j on mac)
  • go to the network tab
  • click on a request on the left
  • scroll down to "Request Headers"
  • find the "cookie" header and copy its entire contents Join our Server

simplified-musicbot's People

Contributors

kino7916 avatar

Stargazers

 avatar

Watchers

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