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