Skip to content

lexapod/Music-discord-bot-nodejs

Repository files navigation

NodeJS Music

Discord Music Bot

Allows to listen music from YouTube.

Instalation

  1. git clone https://github.com/lexapod/Music-discord-bot-nodejs.git & npm ci
  2. Insert varibles in configExample
  3. Run autorize.js and insert cookie
  4. Rename configExample to config
  5. npm run start
  6. Add bot on your server

Docker usage recommend

On MacOS if you get an error do:

npm uninstall sodium & npm uninstall libsodium-wrappers

npm install @discordjs/voice libsodium-wrappers

Usage command

Standart prefix: !

Examples

/Play url - Playing youtube URL.

/Pause - Pauses the song.

/Resume - Resumes the song.

/Stop - Stops the song.

/Skip - Skips the song.

/search query - Searching in youtube.

About

Discord bot play music from youtube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages