Skip to content

Releases: MCbabel/discord-music-bot

🎉 MelodyBot v1.4.1: Enhanced Song Search & Critical Bug Fixes!

14 Sep 20:38
e2f6673
Compare
Choose a tag to compare

🎉 MelodyBot v1.4.1: Enhanced Song Search & Critical Bug Fixes! 🎵

We’re excited to unveil MelodyBot v1.4.1, packed with a brand-new Enhanced Song Search feature inspired by TuteOneDev, along with essential bug fixes and performance improvements to elevate your Discord music experience! 🎶

🆕 New Features

  • Enhanced Song Search with /play Command 🔍🎵

    Inspired by the innovative approach of TuteOneDev, MelodyBot's /play command now supports direct song title searches! You can effortlessly find and play your favorite tracks without needing to provide exact URLs. Simply enter the song title, and MelodyBot will handle the rest.

    • Search by Title: Use /play <song_title> to search and play songs directly from YouTube.

      Example: /play Never Gonna Give You Up

    • Seamless Integration: Whether you're looking for the latest hits or classic tracks, the enhanced search ensures accurate and swift results, making your music sessions smoother than ever.

🛠️ Bug Fixes

  • Resolved Messages.success AttributeError 🐛

    Fixed an issue where the /stop command failed to send confirmation messages and caused an AttributeError due to the missing Messages.success method. Now, stopping playback and clearing the queue works flawlessly with appropriate user feedback.

  • Improved /play Command Stability 🎧

    Addressed a NameError related to the MusicControls class, ensuring that the /play command functions correctly without unexpected crashes. This enhancement guarantees reliable playback controls during your music sessions.

  • Enhanced Error Handling Across Commands ⚙️

    Strengthened error handling mechanisms for various commands to provide clearer feedback and prevent the bot from encountering unhandled exceptions. Users will now receive more informative messages when something goes wrong, improving overall usability.

  • Fixed Confirmation Messages for /stop Command ✅

    Ensured that the /stop command now successfully sends confirmation messages to users upon stopping playback and clearing the queue, enhancing user experience and transparency.

  • Skipped Song Handling 🛑

    Improved the skip functionality to handle edge cases where there are no more songs in the queue, providing appropriate feedback to users and preventing unnecessary errors.

🚀 Improvements

  • Optimized Command Execution Speed 🏎️

    Enhanced the responsiveness and efficiency of command handling, reducing latency and ensuring faster execution of user commands. Enjoy a more seamless and interactive music experience with quicker command responses.

  • Refined Embed Messages for Clarity 📑

    Updated the design and content of embed messages to provide clearer and more intuitive information to users during interactions. Improved readability and visual appeal make navigating commands and feedback more user-friendly.

  • Enhanced Logging for Easier Debugging 📝

    Implemented more detailed logging to facilitate easier identification and resolution of future issues, ensuring the bot runs smoothly and any problems can be swiftly addressed.

  • Stability Enhancements for Playback Controls 🔄

    Improved the reliability of playback controls, ensuring smoother user interactions and consistent performance during music playback. This ensures that your commands for pausing, resuming, skipping, and looping work without hiccups.

📂 Files Changed

  • bot.py
  • commands.py
  • messages.py
  • requirements.txt

📌 Additional Information

  • How to Use the Enhanced /play Command:

    1. Search and Play a Song by Title:
      • Command: /play <song_title>
      • Example: /play Shape of You

💬 Feedback and Support

We appreciate your continued support and feedback, which help us make MelodyBot better with each update. If you encounter any issues or have suggestions for further improvements, please don't hesitate to reach out. We're here to ensure MelodyBot meets all your musical needs!

Happy Listening! 😊🎶


Thank you for choosing MelodyBot! 🎶💖

🎉 MelodyBot v1.4.0: Improved Controls, and Stability Fixes! 🎵

14 Sep 12:45
bac3ff6
Compare
Choose a tag to compare

We're thrilled to introduce MelodyBot v1.4.0, featuring powerful new enhancements and critical bug fixes to elevate your music experience on Discord! 🎵

New Features

  • Improved Playback Controls via Buttons 🎛️: Enjoy a smoother music experience with new control buttons! Easily play, pause, skip, and loop songs directly with interactive buttons under the playback message.
  • Automatic Queue Updates ➕: When a new song from the queue starts, MelodyBot now sends a fresh "Now Playing" message with updated control buttons, ensuring you’re always in control.

Bug Fixes

  • Resolved Connection Issues ⚙️: Fixed an issue where the bot would repeatedly join and leave the voice channel due to connection errors.
  • Loop Playback Stability 🔄: Improved the loop functionality to ensure that songs repeat without any interruptions or spammy messages.
  • Auto-Disconnect on Inactivity 🕒: Corrected the auto-disconnect feature to ensure MelodyBot waits the full 3 minutes of inactivity before leaving the voice channel, providing a smoother experience.
  • Skip Command Enhancements ⏭️: Added error handling for the skip command to inform users when there are no songs left in the queue.

Improvements

  • Better YouTube Integration: Leveraging the youtubesearchpython library for more accurate and faster search results.
  • Enhanced User Feedback: MelodyBot now provides clearer messages and better handling of different scenarios, improving the overall user experience.
  • Optimized Command Handling: Commands are now more responsive and reliable, with reduced latency for an improved music experience.

We hope you love these new updates and enjoy the seamless music playback! As always, we welcome your feedback and suggestions. Thank you for choosing MelodyBot! 🎶

Files Changed

  • bot.py
  • commands.py
  • requirements.txt

Happy listening! 😊

🎉 MelodyBot v1.3.0: New Features & Bug Fixes! 🎶

21 Jun 06:45
8b4e53a
Compare
Choose a tag to compare

We're excited to bring you MelodyBot v1.3.0, packed with new features and important bug fixes to enhance your music experience on Discord! 🎵

New Features

  • Vote Skip 🗳️: Users can now vote to skip the current song. Just type /vote_skip to initiate a vote.
  • Volume Control 🔊: Adjust the playback volume with the new /volume <percent> command. The maximum volume is 1000%, and the default is 100%.
  • Playlist Management 📂: Playlists are now saved in a separate file. You can add songs to playlists, and list all available playlists with details of the creator.

Bug Fixes

  • Fixed an issue where the bot would disconnect from the voice channel immediately after a song finished playing.
  • Resolved a problem with the clear command causing errors due to an unknown webhook.
  • Improved error handling for various commands to ensure smooth operation and better user feedback.
  • Addressed the Task is already launched and is not completed error by properly managing the check_inactivity task.

Improvements

  • The bot now waits for 5 minutes of inactivity before leaving the voice channel automatically. You can still manually disconnect the bot with /leave. (There may still be errors, but these will be fixed in the next few days.)
  • Enhanced the reliability and stability of the bot's connection to the voice channel.

We hope you enjoy these new features and improvements! If you encounter any issues or have suggestions, please let us know. Happy listening! 🎶

Files Changed

  • bot.py
  • commands.py
  • messages.py

Thank you for using MelodyBot! 😊

🚀 Discord Music Bot v1.2.0 - Feature and Stability Update

12 Jun 08:39
f572168
Compare
Choose a tag to compare

🚀 This release brings new features and critical bug fixes to enhance your Discord music bot experience. Highlights of this update include:

🆕 New Features:

  • Clear Chat Command: Added /clear command to delete a specified number of messages in the chat. 🧹

🔧 Improvements:

  • Enhanced Error Handling: Improved error messages for better clarity. 🚨
  • Genius Lyrics Integration: More accurate retrieval of song lyrics using the Genius API. 🎤
  • Embeds and Emojis: Updated all bot messages to use embeds and emojis for a more visually appealing experience. 🌟

🐛 Bug Fixes:

  • 🛠️ Fixed an issue where non-YouTube and non-Spotify URLs were incorrectly processed, preventing unexpected audio playback.
  • 🎵 Resolved playback issues where the bot would not properly handle the queue, ensuring continuous music playback.
  • ⏸️ Addressed a bug causing the bot to crash when using /resume without a previously paused song.
  • 🚫 Improved error handling for /resume command to show a user-friendly message if no song is paused.
  • 🔄 Enhanced the queue system to prevent abrupt stops when the queue is empty after skipping a song.
  • ❗ Fixed rate limit handling to ensure the bot doesn't crash under high command usage.
  • 🔍 Improved search functionality for YouTube and Spotify URLs for better accuracy.
  • 📜 Fixed an issue with the lyrics command to better handle songs with special characters or formatting.

📥 Updates:

  • Setup and Update Scripts:
    • Added update.bat for easy updating of the bot to the latest version. 🔄
    • Enhanced setup.bat to fetch the latest files directly from GitHub. 🛠️
    • To update to the latest version, run the update.bat file in the directory where the bot is located.

Feel free to contribute and enhance the bot's capabilities! This project was created in collaboration with ChatGPT to demonstrate the power of AI-driven development. 🤖

Happy listening! 🎵

🎶 Discord Music Bot v1.1.0 - Enhanced Features & Bug Fixes 🎉

11 Jun 10:00
70b38b6
Compare
Choose a tag to compare

We are excited to announce the release of version 1.1.0 of the Discord Music Bot! This update brings several new features and important bug fixes.

✨ New Features:

  • 🎤 Lyrics Integration: Fetch and display song lyrics from Genius.
  • 🚦 Rate Limiting: Prevent command spamming with rate limits.
  • 📜 Queue Management: Enhanced queue handling for smoother playback.
  • ⚡ Command Optimization: Faster command response times.
  • 🔧 Improved Error Handling: More informative error messages.

🐛 Bug Fixes:

  • 🛠 Fixed playback interruptions.
  • 🎶 Resolved queue playback issues.
  • 🚀 Improved stability and performance.

🚀 Getting Started:

  1. Download and run the setup.bat file.
  2. Follow the prompts to enter your Discord Bot Token, Spotify Client ID, Spotify Client Secret, and Genius API Key.
  3. Run the bot.py file to start the bot.

Happy listening! 🎵

Discord Music Bot Setup v1.0.0

10 Jun 23:24
1fb41b1
Compare
Choose a tag to compare

🎉 Initial Release of the Discord Music Bot Setup Script 🎉

This initial release includes a comprehensive batch script to set up a feature-rich Discord Music Bot with seamless integration for YouTube and Spotify. The script automates the entire setup process, making it easy to get your bot up and running in no time.

Features:

  • Automated Setup: The batch script creates the necessary directory structure, prompts for required information, installs dependencies, and generates all necessary files.
  • YouTube and Spotify Integration: Play music from both YouTube and Spotify effortlessly.
  • Queue Management: Manage your song queue with commands to add, skip, pause, resume, and stop songs.
  • Slash Commands: Utilize modern slash commands for a better user experience.
  • Multilingual Help: Get help in multiple languages with an interactive help menu.

Getting Started:

  1. Download and run the setup.bat file.
  2. Follow the prompts to enter your Discord Bot Token, Spotify Client ID, and Spotify Client Secret.
  3. Let the script handle the rest!
  4. Once the setup is complete, simply run the bot.py file to start the bot.

Requirements:

  • Windows OS
  • Python 3.6 or higher
  • FFmpeg installed and added to your system PATH

Feel free to contribute and enhance the bot's capabilities! This project was created in collaboration with ChatGPT to demonstrate the power of AI-driven development.

Happy listening! 🎵


Files Included:

  • setup.bat: Batch script to automate the setup process.
  • README.md: Instructions and documentation.
  • LICENSE: MIT License for the project.