Trying to make a command

can someone tell me how to make a simple autoplay command using lavaclient?
V
viztea165d ago
kinda depends on the sources you're using spotify has a recommendations api, i think youtube does too
P
Pragati165d ago
i am using youtube music just tell me a simple autoplay command based on lavaclient
V
viztea165d ago
i don't have any premade commands, you'd have to write it yourself
P
Pragati165d ago
any example?
V
viztea165d ago
looking into it
P
Pragati165d ago
okie
V
viztea165d ago
if you're using youtube music you can just load the autogenerated mix playlist using the last played video's id and then add it to the queue https://music.youtube.com/watch?v=<video id>&list=RD<video id> is the format for the playlist's url e.g., https://music.youtube.com/watch?v=QnD2pYqhWVM&list=RDQnD2pYqhWVM
P
Pragati165d ago
mmmmmmmmmmm