freyacodes / archived-bot

A Discord music bot serving music in over 3 million discord servers
https://fredboat.com/docs
MIT License
488 stars 210 forks source link

Playlist command #599

Open kthezelais opened 4 years ago

kthezelais commented 4 years ago

I add a playlist command. This feature is used to store tracks into a parallel list of the queue, and this list of tracks can be run on the queue when the user use the command ;;playlist run.

You can find some details on how to use this new command below :

The command ;;playlist

- add <search>: add a title from a search. Then enter the command ;;playlist [1-5] to choose a title from the search list.

- copy: copy the queue into the playlist. If the playlist is not empty, enter the command ;;playlist [1-2] (1: overwrite the playlist, 2: do nothing).

- list: display title's list of the playlist.

- remove <option>: delete one or more titles from the playlist:
     - without option: displays the list of titles in the playlist.
     - all: delete all the titles in the playlist.
     - <number>: delete the title associated with the <number> parameter.

- run <option>: adds all the titles from playlist to the queue.
     - without option: add the titles in order.
     - random: add the titles in the mess.
claassistantio commented 4 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Killian THEZELAIS seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.