Skip to content

Commit

Permalink
Fix availability ob player
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 30, 2024
1 parent 8f62737 commit 99663be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class SoundPlayer(guild: GuildBehavior) : CoroutineScope {
locked = !available
coroutineScope {
getUsersInChannel(channel).forEach {
sendEvent(it, InterfaceAvailabilityChangeEvent(available || it == user, playingSound?.id, playingSound?.isDiscord != true))
sendEvent(it, InterfaceAvailabilityChangeEvent(available || it == user, playingSound?.id, true))
}
}
}
Expand Down

0 comments on commit 99663be

Please sign in to comment.