Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 819 Bytes

File metadata and controls

31 lines (25 loc) · 819 Bytes

Discord Music Bot

A simple Discord bot that can play songs from YouTube and allows users to pause and resume playback.

Description

This Discord bot streams music from YouTube into a voice channel. Users can issue commands to play a song, pause the current song, and resume playback.

Installation

Prerequisites

Steps

  1. Clone the repository:
    git clone https://github.com/your_username/discord-music-bot.git
    cd discord-music-bot
  2. Install dependencies:
    "dependencies": {
     "@discordjs/voice": "^0.17.0",
     "discord.js": "^14.15.2",
     "dotenv": "^16.4.5",
     "libsodium-wrappers": "^0.7.13",
     "node-fetch": "^3.3.2",
     "ytdl-core": "^4.11.5"
    }