Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play behavior fix #325

Closed
wants to merge 4 commits into from
Closed

Conversation

udany
Copy link

@udany udany commented Sep 14, 2021

I experienced what felt like a bug:

If the bot was in the middle of playing a song and everyone left, the next time you attempted to play anything after, it'd start playing but wouldn't come back to the voice channel.

The culprit was this code fragment, since it would still have songs in the player (queueOldSize > 0) and got paused when disconnecting it would only join again when you sent a -p without anything.

To make the experience smoother, I removed the player.voiceConnection === null from the conditional and added a message to explain it is paused.

@codetheweb
Copy link
Collaborator

Would it make sense to just automatically resume playback here? I think that might work better.

(And as I mentioned on the other PR, commits should be signed 😃.)

@ghost ghost mentioned this pull request Sep 22, 2021
@codetheweb
Copy link
Collaborator

Made obsolete by #424.

@codetheweb codetheweb closed this Dec 12, 2021
@udany udany deleted the play-behavior-fix branch December 19, 2021 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants