- 📍 Overview
- 📦 Features
- 📂 Structure
- 💻 Installation
- 🏗️ Usage
- 🌐 Hosting
- 📄 License
- 👏 Authors
The discord-music-stream-bot
project provides a comprehensive solution for playing music in Discord voice channels, enhancing social interaction among users by integrating music playback from various platforms like YouTube and SoundCloud.
Feature | Description | |
---|---|---|
🎶 | Music Playback | Support playing music from various sources with commands to play, pause, skip, and stop, ensuring smooth playback. |
📃 | Playlist Management | Allows users to create and manage their playlists and queue songs for continuous playback without interruptions. |
🔍 | Search Functionality | Users can search for songs directly from the chat with autocomplete suggestions for quick results. |
🔊 | Volume Control | Provides users the ability to adjust playback volume easily for personalized listening experiences. |
⚖️ | Admin Controls | Exclusive commands for server moderators to manage music playback and ensure a positive listening environment. |
📜 | Play History | Lets users access recently played tracks, fostering memorable shared experiences within the server. |
🌍 | Multi-language Support | The bot supports multiple languages for a broader user base and accessibility. |
🛠️ | Custom Commands | Users can create personalized commands for unique interactions and enhance community engagement. |
👤 | Bot Presence Management | Customizable presence messages to indicate when the bot is playing music or idle, enhancing visibility in the voice channel. |
discord-music-stream-bot/
├── commands/
│ ├── play.js
│ ├── pause.js
│ ├── skip.js
│ ├── stop.js
│ ├── queue.js
│ ├── search.js
│ ├── volume.js
│ ├── playlists.js
│ └── help.js
├── events/
│ ├── message.js
│ ├── guildMemberAdd.js
│ ├── guildMemberRemove.js
│ └── ready.js
├── services/
│ ├── musicService.js
│ ├── queueService.js
│ ├── playlistService.js
│ └── userService.js
├── models/
│ ├── userModel.js
│ ├── playlistModel.js
│ └── songModel.js
├── utils/
│ ├── commandHandler.js
│ ├── logger.js
│ └── errorHandler.js
├── config/
│ ├── env.config.js
│ └── database.config.js
├── routes/
│ ├── api.js
│ └── musicRoutes.js
├── middleware/
│ ├── authentication.js
│ ├── permissions.js
│ └── logging.js
├── .env
└── package.json
- Node.js
- npm
- MongoDB
- Clone the repository:
git clone https://github.com/spectra-ai-codegen/discord-music-stream-bot.git
- Navigate to the project directory:
cd discord-music-stream-bot
- Install dependencies:
npm install
- Start the development server:
node index.js
- Invite the bot to your server and enjoy music in your voice channel!
Adjust configuration settings in the .env
file for API keys and other settings needed for the bot to function properly.
You can host this bot on platforms like Heroku, DigitalOcean, or any cloud service that supports Node.js applications.
- Create a new Heroku app:
heroku create
- Deploy your code:
git push heroku main
DISCORD_TOKEN
: Your Discord bot tokenMONGODB_URI
: Your MongoDB connection URI
This project is licensed under the GNU AGPLv3.
- Drix10 - GitHub Profile
Why only generate Code? When you can generate the whole Repository!