From 02b5137ec60081cf47bb00d1b72289f82fcde611 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 20 Dec 2024 18:32:37 -0500 Subject: [PATCH] Update --- rolesummary.py => threadsummary.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename rolesummary.py => threadsummary.py (96%) diff --git a/rolesummary.py b/threadsummary.py similarity index 96% rename from rolesummary.py rename to threadsummary.py index d7a7fa8..a4e103f 100644 --- a/rolesummary.py +++ b/threadsummary.py @@ -9,7 +9,7 @@ from urllib.parse import urlparse import os import sys -class rolesummary(commands.Cog): +class threadsummary(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot @@ -67,4 +67,7 @@ class rolesummary(commands.Cog): continue message = message + f"<@{p.owner_id}>: {p.jump_url}\n" await t.edit(message) - return \ No newline at end of file + return + +def setup(bot: commands.Bot): + bot.add_cog(threadsummary(bot)) \ No newline at end of file