ThatGuyJacobee / Elite-Music

Elite Music is an open-source, feature-packed Discord music bot running on discord.js and discord-player. The bot is complete with large selection of commands, effects, optional features, autoplay, customisability and much more! 🚀💪
https://elite-bot.com/docs/getting-started-music
Apache License 2.0
34 stars 1 forks source link

Implement searching to regular songs #3

Closed ThatGuyJacobee closed 9 months ago

ThatGuyJacobee commented 10 months ago

Similarly to how it is implemented in the new /plex command, improve the /play command to include searching if multiple search results are found for a song. In a scenario like this, a search embed will be returned with a menu to allow the user to pick their specific choice. Otherwise, if there is only one result, play the song directly without the search stuff.

Alternatively, another option is to create a separate /search command which allows the user to search for a query and similarly receive a response via an embed and menu. The benefit of this solution is that when running /play it is very likely that most search queries will have more than one search result. Thus a change in directly adding search to that command would make it inconvenient for users who simply want to enter a query and play. This links to #2 issue.

ThatGuyJacobee commented 9 months ago

This is currently in development, will be released likely tomorrow or within the next few days with the v1.3 release.

ThatGuyJacobee commented 9 months ago

Completed with v1.3 release! https://github.com/ThatGuyJacobee/Elite-Music/commit/f63c1a37cc61ca1bd6b6ebb99c9a7f575b0b59a9