irbyk / Plex-Discord-Bot_V2

Upgrade of the Plex-Discord-Bot by danxfisher : https://github.com/danxfisher/Plex-Discord-Bot
BSD 3-Clause "New" or "Revised" License
54 stars 13 forks source link

Hey again! Filters to !random command? #10

Open Zackman634 opened 3 years ago

Zackman634 commented 3 years ago

I was wondering if it's possible to add a way to narrow down the selection of songs it picks from when it selects randomly. Also, on that note, could you add a !gerne command like you have a !mood command?

irbyk commented 3 years ago

Can you give me some details of what you have in mind ?

Zackman634 commented 3 years ago

I was thinking a command that was something along the lines of !random Such as; !random happy, which would pull from a random selection of happy songs !random rock, which would pull from a selection of rock music

irbyk commented 3 years ago

Doesn't the !mood command do the trick ?

Zackman634 commented 3 years ago

Yes. I apologize, I got myself confused. But, the second command would still be valid

irbyk commented 3 years ago

Don’t apologize for that ^^. I just add some command (!library for example to select which plex library you want for the bot to use when you use !random or !mood). But if you want a another way to random your song you can create a playlist with the bot and play it randomly !playlist play <name of your playlist> r. Note it’s a bot specific playlist, not the plex one. If you want to use a plex playlist you can type !playlist plex <name of the playlist> and then !shuffle to shuffle the queue.