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