jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
4.91k stars 2.44k forks source link

[Feature Request] autojoin in multiple voice channels #1316

Open Minhhl03 opened 1 year ago

Minhhl03 commented 1 year ago

Is your feature request related to a problem? Please describe.

My server currently hosting multiple music voice channels that each has a specific theme. Currently I find that you can only use setvc for one channel and autoplaylist for the whole server.

What is your ideal solution to the problem?

Since you have to use setvc and autoplaylist to allow the bot to autoplay when an user joins, I think there should be an autoplay command. Also I would want autoplay command to be set in multiple voice channels and play different playlist assigned to each channel.

How would this feature be used?

  1. Either join vc-1 and type !!autoplay <playlist-1> or type !!autoplay vc-1 <playlist-1>
  2. Either join vc-2 and type !!autoplay <playlist-2> or type !!autoplay vc-2 <playlist-2>
  3. Continue the process to every specific channel you want the bot to autoplay.

Additional Info

No response

Checklist

jagrosh commented 1 year ago

Bots can only connect to one channel per server at a time. If you want multiple channels to each have their own music, you'll need to host multiple copies of the bot on separate bot accounts.

Minhhl03 commented 1 year ago

Bots can only connect to one channel per server at a time. If you want multiple channels to each have their own music, you'll need to host multiple copies of the bot on separate bot accounts.

Ah, what I meant is for example, when you join vc-1, it joins and plays metal playlist, when you join vc-2, it leaves vc-1 (when there's no user in the voice chat), joins vc-2 and play lofi playlist. That's what I meant by that.