Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coslynx/discord-music-stream-bot
Project: Melodic Companion for Discord Fun. Created at https://spectra.codes, which is owned by @Drix10
https://github.com/coslynx/discord-music-stream-bot
admin-commands axios code-generation code-quality developer-tools devops discord-bot discordjs express javascript machine-learning mongodb music-playback nodejs playlist-management search-feature software-development user-engagement voice-channel ytdl-core
Last synced: about 2 months ago
JSON representation
Project: Melodic Companion for Discord Fun. Created at https://spectra.codes, which is owned by @Drix10
- Host: GitHub
- URL: https://github.com/coslynx/discord-music-stream-bot
- Owner: coslynx
- Created: 2024-08-02T09:59:31.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T10:06:59.000Z (5 months ago)
- Last Synced: 2024-10-13T02:41:42.849Z (3 months ago)
- Topics: admin-commands, axios, code-generation, code-quality, developer-tools, devops, discord-bot, discordjs, express, javascript, machine-learning, mongodb, music-playback, nodejs, playlist-management, search-feature, software-development, user-engagement, voice-channel, ytdl-core
- Language: JavaScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
discord-music-stream-botA Discord bot for seamless music playback and community engagement.
Developed with the software and tools below.
## 📑 Table of Contents
- 📍 Overview
- 📦 Features
- 📂 Structure
- 💻 Installation
- 🏗️ Usage
- 🌐 Hosting
- 📄 License
- 👏 Authors## 📍 Overview
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.## 📦 Features
| | 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. |## 📂 Structure
```plaintext
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
```## 💻 Installation
### 🔧 Prerequisites
- Node.js
- npm
- MongoDB### 🚀 Setup Instructions
1. Clone the repository:
- `git clone https://github.com/spectra-ai-codegen/discord-music-stream-bot.git`
2. Navigate to the project directory:
- `cd discord-music-stream-bot`
3. Install dependencies:
- `npm install`## 🏗️ Usage
### 🏃♂️ Running the Project
1. Start the development server:
- `node index.js`
2. Invite the bot to your server and enjoy music in your voice channel!### ⚙️ Configuration
Adjust configuration settings in the `.env` file for API keys and other settings needed for the bot to function properly.## 🌐 Hosting
### 🚀 Deployment Instructions
You can host this bot on platforms like Heroku, DigitalOcean, or any cloud service that supports Node.js applications.1. Create a new Heroku app:
- `heroku create`
2. Deploy your code:
- `git push heroku main`
### 🔑 Environment Variables
- `DISCORD_TOKEN`: Your Discord bot token
- `MONGODB_URI`: Your MongoDB connection URI## 📜 License
This project is licensed under the [GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/).## 👥 Authors
- Drix10 - [GitHub Profile](https://github.com/Drix10)
🌐 Spectra.Codes
Why only generate Code? When you can generate the whole Repository!