Fixed unnecessary voice states #274 #275
@ -102,6 +102,9 @@ class BaseOnVoiceStateUpdateEvent(OnVoiceStateUpdateABC):
|
||||
server = self._servers.get_server_by_discord_id(member.guild.id)
|
||||
|
||||
try:
|
||||
if before.channel == after.channel:
|
||||
return
|
||||
|
||||
# join
|
||||
if (
|
||||
before.channel is None
|
||||
|
Loading…
Reference in New Issue
Block a user