aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-12-07 14:48:27 +0000
committerGravatar Chris Lovering <[email protected]>2022-12-07 14:48:27 +0000
commit00710789e98617ca5219eefbe5a17490eaf440c8 (patch)
tree1b0d3b9b8a718af7f79998fd9281feaf7d04a858
parentMerge pull request #2356 from python-discord/fix-help-channel-open-with-no-co... (diff)
Remove thread creation logging
-rw-r--r--bot/exts/moderation/modlog.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py
index d916d1f4d..2c0d45da0 100644
--- a/bot/exts/moderation/modlog.py
+++ b/bot/exts/moderation/modlog.py
@@ -847,23 +847,6 @@ class ModLog(Cog, name="ModLog"):
)
@Cog.listener()
- async def on_thread_create(self, thread: Thread) -> None:
- """Log thread creation."""
- if self.is_channel_ignored(thread.id):
- log.trace("Ignoring creation of thread %s (%d)", thread.mention, thread.id)
- return
-
- await self.send_log_message(
- Icons.hash_green,
- Colours.soft_green,
- "Thread created",
- (
- f"Thread {thread.mention} ({thread.name}, `{thread.id}`) from {thread.parent.mention} "
- f"(`{thread.parent.id}`) created"
- )
- )
-
- @Cog.listener()
async def on_voice_state_update(
self,
member: discord.Member,