https://github.com/dwr2118/discordmusicbot
https://github.com/dwr2118/discordmusicbot
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dwr2118/discordmusicbot
- Owner: dwr2118
- Created: 2024-06-10T17:10:25.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-07T01:13:04.000Z (12 months ago)
- Last Synced: 2025-01-11T13:29:05.303Z (5 months ago)
- Language: JavaScript
- Size: 10 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
}