Reviewed-on: sh-edraft.de/kd_discord_bot#275 Reviewed-by: Ebola-Chan <nick.jungmann@gmail.com> Closes #274
This commit is contained in:
commit
b4a5fdb258
@ -102,6 +102,9 @@ class BaseOnVoiceStateUpdateEvent(OnVoiceStateUpdateABC):
|
|||||||
server = self._servers.get_server_by_discord_id(member.guild.id)
|
server = self._servers.get_server_by_discord_id(member.guild.id)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
if before.channel == after.channel:
|
||||||
|
return
|
||||||
|
|
||||||
# join
|
# join
|
||||||
if (
|
if (
|
||||||
before.channel is None
|
before.channel is None
|
||||||
|
Loading…
Reference in New Issue
Block a user