This repository contains the code for a Discord music bot that allows users to play songs from YouTube in voice channels.
- Functionality of Queue,edit,skip
- Play songs using playlists
- Play songs from YouTube URLs
- Join and leave voice channels
- Control playback (pause, resume, stop)
- Node.js and npm (or yarn)
- A Discord bot token
-
Clone this repository.
-
Install the required dependencies:
npm install
node PlayMusic.cjs
Use code with caution. Invite the bot to your Discord server.
Join a voice channel.
Use the !play command to play a song from YouTube.
Example:
!play https://www.youtube.com/watch?v=dQw4w9WgXcQ
- Play Songs Based on user input
- Play Songs according to user's Mood
- Functionality for Queue of Songs,Skip,Pause
Feel free to fork this repository and contribute your improvements!
2024-03-24.23-21-40.mp4
This project is licensed under the MIT License. See the LICENSE file for details.