Spimy/muse-cli

Skip Music Tweaks

Closed this issue · 1 comments

Spimy commented

If vote count is set to voice channel user count and a user voted but left the channel it could cause potential bugs

Example Scenario

  • Music playing
  • Vote count is set to voice channel size
  • There are 6 people in the voice channel so 6 votes are needed to skip (excluding bot itself)
  • A user voted and left the channel (the user is now part of the vote but 5 votes are needed now)
  • Another user joins that voice channel
  • This means it needs 6 votes again but it'll still require only 5 because of the user who left

Hence, kind of a bug. The best way to fix this is to remove the user who left the voice channel from the votes.

Spimy commented

Fixed in commit ced77a8