diff --git a/forums/forums.py b/forums/forums.py index 7734e87..2a23881 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -47,7 +47,10 @@ class Forums(commands.Cog): @ui.button(label="Yes", style=discord.ButtonStyle.success, emoji="✅") async def resolved_button_yes(self, button: ui.Button, interaction: discord.Interaction): channel = self.ctx.channel + await interaction.response.defer() await channel.edit(locked=True, archived=True, applied_tags=channel.applied_tags + await self.config.guild(channel.guild).forum_tag()) + await self.msg.delete() + await self.ctx.message.add_reaction("✅") @commands.group(name='forumconfig', invoke_without_command=True, aliases=['forumsset']) @commands.guild_only()