From bdd26fe1189b951287127ea3b5e2c77deb19900e Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 8 Mar 2022 10:47:39 +0000 Subject: Remove modlog ignore for voice verif When a user leaves and rejoins, and then asks for the voice verification role back in modmail, we want a way to see if they have every been given the role. By removing this modlog ignore, it allows us to check the user-log channel for user updates to see if they were ever assigned the role. --- bot/exts/moderation/voice_gate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/exts/moderation/voice_gate.py b/bot/exts/moderation/voice_gate.py index a3228d4fb..d6b8f1239 100644 --- a/bot/exts/moderation/voice_gate.py +++ b/bot/exts/moderation/voice_gate.py @@ -10,7 +10,7 @@ from discord.ext.commands import Cog, Context, command from bot.api import ResponseCodeError from bot.bot import Bot -from bot.constants import Channels, Event, MODERATION_ROLES, Roles, VoiceGate as GateConf +from bot.constants import Channels, MODERATION_ROLES, Roles, VoiceGate as GateConf from bot.decorators import has_no_roles, in_whitelist from bot.exts.moderation.modlog import ModLog from bot.log import get_logger @@ -191,7 +191,6 @@ class VoiceGate(Cog): await ctx.channel.send(ctx.author.mention, embed=embed) return - self.mod_log.ignore(Event.member_update, ctx.author.id) embed = discord.Embed( title="Voice gate passed", description="You have been granted permission to use voice channels in Python Discord.", -- cgit v1.2.3