diff --git a/forums/forums.py b/forums/forums.py index b4ff084..0c5bc55 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -58,9 +58,9 @@ class Forums(commands.Cog): else: response_reason = f"Thread closed by {interaction.user.mention}" reason = f"Thread closed by {interaction.user.name} ({interaction.user.id})" - await interaction.channel.edit(locked=True, archived=True, applied_tags=interaction.channel.applied_tags + [interaction.channel.parent.get_tag(await self.config.guild(interaction.guild).forum_tag())], reason=reason) await self.msg.edit(content=response_reason, view=None) await self.ctx.message.add_reaction("✅") + await interaction.channel.edit(locked=True, archived=True, applied_tags=interaction.channel.applied_tags + [interaction.channel.parent.get_tag(await self.config.guild(interaction.guild).forum_tag())], reason=reason) else: await interaction.response.send_message(content="You cannot close this thread!", ephemeral=True)