SE-TINF22B6 / Plapy

Discord Music Bot
MIT License
0 stars 1 forks source link

/loadplaylist command #26

Open Shiny1708 opened 11 months ago

Shiny1708 commented 11 months ago

As a user, I want to be able to use the load playlist command to retrieve all playlist stored in the database that are linked to the current server. The best way to implement Playlist selection is the select menu: https://support-dev.discord.com/hc/en-us/articles/6382655804311-Bots-Select-Menus I should be able to look at all the playlists and then select one instead of having to guess the playlist name in a command option. This would highly increase usability

Shiny1708 commented 11 months ago

Discord js guide for select menus here: https://discordjs.guide/message-components/select-menus.html#building-string-select-menus

Shiny1708 commented 11 months ago

/search command implements the select menu, implementation can be looked up in class search.ts for an example