aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/moderation/voice_gate.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/exts/moderation/voice_gate.py b/bot/exts/moderation/voice_gate.py
index 94b23a344..84ffc3ee7 100644
--- a/bot/exts/moderation/voice_gate.py
+++ b/bot/exts/moderation/voice_gate.py
@@ -254,6 +254,10 @@ class VoiceGate(Cog):
log.trace("User not in a voice channel. Ignore.")
return
+ if isinstance(after.channel, discord.StageChannel):
+ log.trace("User joined a stage chanel. Ignore.")
+ return
+
# To avoid race conditions, checking if the user should receive a notification
# and sending it if appropriate is delegated to an atomic helper
notification_sent, message_channel = await self._ping_newcomer(member)