Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 1.79 KB

README.md

File metadata and controls

82 lines (52 loc) · 1.79 KB

Discord Music Bot 🎵

This repository contains the code for a Discord music bot that allows users to play songs from YouTube in voice channels.

Discord Music Bot

Currently Working on

  • Functionality of Queue,edit,skip
  • Play songs using playlists

Table of Contents

Features

  • Play songs from YouTube URLs
  • Join and leave voice channels
  • Control playback (pause, resume, stop)

Requirements

  • Node.js and npm (or yarn)
  • A Discord bot token

Installation

  1. Clone this repository.

  2. Install the required dependencies:

    npm install

Note: Ensure you have npm or yarn installed on your system before running this command.

Usage Run the bot using:

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

Output

Future Works

  • Play Songs Based on user input
  • Play Songs according to user's Mood
  • Functionality for Queue of Songs,Skip,Pause

Contributing

Feel free to fork this repository and contribute your improvements!

Output

2024-03-24.23-21-40.mp4

License

This project is licensed under the MIT License. See the LICENSE file for details.