Open Th3Gavst3r opened 7 months ago
If you want the autoplaylist to begin immediately, you need to set a voice channel for it to connect to with the setvc
command.
I did have the voice channel set, which is how the bot joins the chat when you run play
with no arguments. I forgot to include that step in the reproduction instructions. Even after it joins the channel configured with setvc
it still does not start the autoplaylist.
If you have the voice channel set (setvc
) and an autoplaylist set (autoplaylist
), the bot should join that voice channel and begin playing the playlist when you reboot the bot jar
Oh I see the different behavior with setvc
enabled now. However, setvc
is also unwanted behavior. When I start the bot, I want it to only start playing when a user requests music to begin. Having the bot join and immediately begin playing on startup is not a complete workaround, and disrupts servers which did not wish to begin music playback. I just want the autoplaylist
to begin playing when a user runs play
with no arguments.
Having the bot automatically join on startup also presents another bug: #1541
Bug Description
When the bot first starts up, the default playlist will never start playing until there has been at least one item played in the server.
Steps to Reproduce
autoplaylist myplaylist
play
Bot joins VC, but nothing playsplay xvFZjo5PgG0
After this first song ends, the autoplaylist begins.stop
play
Now the autoplaylist begins even when no song is specifiedExpected Result
The bot should always start the default playlist, even immediately after startup.
Debug Output
Additional Info
This seems to be a per-server issue. Playing a song in one server does not fix the autoplaylist feature in any other servers until they have also played at least one item.
Checklist