From 5e828fc078edca1d9fd70abceab1210ac8e3af29 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 20 Dec 2024 18:38:02 -0500 Subject: [PATCH] Update --- threadsummary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/threadsummary.py b/threadsummary.py index 9461974..eabf1cb 100644 --- a/threadsummary.py +++ b/threadsummary.py @@ -44,7 +44,7 @@ class threadsummary(commands.Cog): return @commands.Cog.listener('on_thread_create') - async def threadupdatehandler(self, thread: nextcord.Thread): + async def threacreatehandler(self, thread: nextcord.Thread): pins = await thread.parent.pins() print(pins, file=sys.stderr) for t in pins: @@ -58,7 +58,7 @@ class threadsummary(commands.Cog): return @commands.Cog.listener('on_thread_delete') - async def threadupdatehandler(self, thread: nextcord.Thread): + async def threaddelhandler(self, thread: nextcord.Thread): pins = await thread.parent.pins() for t in pins: if t.author.id == self.bot.application_id and t.content.split("\n")[0] == f"Active threads in {thread.parent.jump_url}":