From 9e8a12f360c62a3baa3a976c9e95324d4ba0a022 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 20 Dec 2024 17:31:16 -0500 Subject: [PATCH] Update --- misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc.py b/misc.py index 31234eb..b49fec4 100644 --- a/misc.py +++ b/misc.py @@ -64,15 +64,15 @@ class misc(commands.Cog): await interaction.response.send_message("You don't have permission in this context", ephemeral=True) @nextcord.slash_command( - name="threadsummery", + name="threadsummary", description="Generate a list of created threads with the owner", default_member_permissions=nextcord.Permissions(manage_messages=True), ) - async def threadsummery(self, interaction: nextcord.Interaction): + async def threadsummary(self, interaction: nextcord.Interaction): if interaction.channel.type != nextcord.ChannelType.text: await interaction.response.send_message("This is not a text channel", ephemeral=True) return - message = "" + message = f"Active threads in {interaction.channel.jump_url}\n" for t in interaction.channel.threads: if t.archived: continue