An open API service indexing awesome lists of open source software.

https://github.com/dwr2118/discordmusicbot


https://github.com/dwr2118/discordmusicbot

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# 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
- [Node.js](https://nodejs.org/)
- [Discord.js](https://discord.js.org/#/)
- A YouTube API key
- Discord Account

### Steps

1. Clone the repository:
```sh
git clone https://github.com/your_username/discord-music-bot.git
cd discord-music-bot
2. Install dependencies:
```sh
"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"
}