Git Product home page Git Product logo

discord-music-bot's Introduction

Discord Commands

/playmusic/:youtubeVideoLink

This command is used for intilize the player with a music. Also it can be used for changing the music too.

controlmusic/:method

This command is used for controling the player. By this command user can pause (/controlmusic/pause) the current music or unpause (/controlmusic/play) the current paused music or can stop (/controlmusic/stop) the music totally.

Run

yarn

Run yarn to isntall necessary packages.

sudo npm install -g youtube-dl-exec (for linux)

If you are using linux then run this command to install ffmpeg.

Extract the ffmpeg.zip file (for windows)

If you are using windows then extract the ffmpeg.zip file and place the ffmpeg.exe file in the root of the project.

Env

BOT_TOKEN

The token of the bot.

GUILD_ID

The id of the server.

VC_ID

The id the voice channel where you want to play the music.

discord-music-bot's People

Contributors

jayeen28 avatar

Stargazers

 avatar

Watchers

 avatar

discord-music-bot's Issues

Error while playing music for second time.

Error log :
throw new Error("Cannot destroy VoiceConnection - it has already been destroyed");
^

Error: Cannot destroy VoiceConnection - it has already been destroyed

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.