Fixed unnecessary voice states #274 #275

Merged
edraft merged 2 commits from #274 into 1.0.1 2023-03-28 23:29:48 +02:00

View File

@ -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