From 3ea30c280504c309780d0784aca3955eccfb279d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 8 Sep 2023 14:19:23 -0400 Subject: [PATCH] fix(forums): fixed an error in resolvedset tag --- forums/forums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forums/forums.py b/forums/forums.py index 9988c3f..3138441 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -198,7 +198,7 @@ class Select(ui.Select): msg: discord.Message = self.message config = Config.get_conf(None, cog_name='Forums', identifier=2352711325) await config.guild(msg.guild).forum_tag.set(int(self.values[0])) - channel: discord.ForumChannel = await config.guild(msg.guild).forum_channel() + channel: discord.ForumChannel = msg.guild.get_channel(await config.guild(msg.guild).forum_channel()) tag = channel.get_tag(self.values[0]) await msg.edit(content=f"Set resolved tag to {tag.emoji} {tag.name}", view=None) await interaction.response.defer()