A feature-rich Discord music bot using DisTube with slash commands, beautiful embeds, and comprehensive error handling.
- 🎵 Play music from YouTube, Spotify, SoundCloud, and more
- 🎮 Easy-to-use slash commands
- 🎨 Beautiful embeds with custom emojis
- 🔄 Queue management with loop and shuffle options
- 🔊 Volume control
- ⚙️ Comprehensive error handling and fallbacks
| Command | Description |
|---|---|
/play |
Play a song or playlist |
/pause |
Pause the current song |
/resume |
Resume playback |
/skip |
Skip the current song |
/stop |
Stop playback and clear the queue |
/queue |
View the current queue |
/nowplaying |
Show details about the current song |
/volume |
Adjust the volume (0-100%) |
/loop |
Set loop mode (Off, Song, Queue) |
/shuffle |
Shuffle the queue |
/help |
Show all available commands |
- Node.js 16.9.0 or higher
- Discord Bot Token
- FFmpeg (for audio processing)
-
Clone this repository
git clone https://github.com/friday2su/discord-distube-music.git cd discord-distube-music -
Install dependencies
npm install
-
Create a
.envfile with the followingTOKEN=your_discord_bot_token CLIENT_ID=your_client_id -
Start the bot (commands will be automatically registered)
npm start
- discord.js - Discord API wrapper
- DisTube - Discord music bot module
- dotenv - Environment variable management
This project is licensed under the MIT License - see the LICENSE file for details.
Made by Friday and Powered By Cortex Realm
Support Server: https://discord.gg/EWr3GgP6fe
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request