Cleaned up the core logic and added some new quality-of-life features I've been spending some time with the library and wanted to contribute a few updates that make it feel a bit more modern and easier to use. The biggest addition is a new autoplay feature. I noticed a lot of people want the music to keep going even when the queue runs out, so I've integrated recommendation-based autoplay directly into the Player class. #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've been spending some time with the library and wanted to contribute a few updates that make it feel a bit more modern and easier to use.
The biggest addition is a new autoplay feature. I noticed a lot of people want the music to keep going even when the queue runs out, so I've integrated recommendation-based autoplay directly into the Player class.
I also added a few more handy tools to the Queue—specifically
moveandremove_duplicates— so it's much easier to manage playlists on the fly. For the audio side of things, I've added some new sound presets like Pop, Soft, and a lighter Bass Boost for when the default one is a bit too heavy.I spent a good chunk of time cleaning up the Advanced Example too. It now uses interaction buttons for things like skipping and looping, and I added a nice visual progress bar so users can see exactly where they are in a song.
Lastly, I've reworded the error messages throughout the library. Instead of throwing robotic technical errors, the bot will now say things like "Whoops! The queue is completely full right now," which I think makes for a much better user experience.
last time you said it was ai :)