aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar D0rs4n <[email protected]>2022-03-29 16:55:35 +0200
committerGravatar GitHub <[email protected]>2022-03-29 16:55:35 +0200
commit64a849eb4c0f892341e78dd1a1b892f8433cd4ac (patch)
tree1a0420f489f585b1a77a7beed569021040d7569e
parentMerge #2039 - ensure infraction durations are in the future (diff)
parentRemove mod_log.ignore of invocations of the voice verify command (diff)
Merge pull request #2121 from python-discord/log-voiceverify-messages
Remove mod_log.ignore of invocations of the voice verify command
-rw-r--r--bot/exts/moderation/voice_gate.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bot/exts/moderation/voice_gate.py b/bot/exts/moderation/voice_gate.py
index fa66b00dd..a3228d4fb 100644
--- a/bot/exts/moderation/voice_gate.py
+++ b/bot/exts/moderation/voice_gate.py
@@ -238,10 +238,6 @@ class VoiceGate(Cog):
log.trace(f"Excluding moderator message {message.id} from deletion in #{message.channel}.")
return
- # Ignore deleted voice verification messages
- if ctx.command is not None and ctx.command.name == "voice_verify":
- self.mod_log.ignore(Event.message_delete, message.id)
-
with suppress(discord.NotFound):
await message.delete()