diff --git a/forums/forums.py b/forums/forums.py index c7bd198..e3217f9 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -108,7 +108,7 @@ class Forums(commands.Cog): # Create select options from the proxy data options = self.create_select_options(ctx, channel.available_tags) config = Config.get_conf(None, cog_name='Forums', identifier=2352711325) - tag = config.guild(ctx.guild).forum_tag().name + tag = channel.get_tag(await config.guild(ctx.guild).forum_tag()) msg = await ctx.send(f"Forum tag is currently set to `{tag}`.") await msg.edit(view=SelectView(msg, options)) @@ -121,7 +121,7 @@ class Select(ui.Select): msg: discord.Message = self.message await interaction.response.defer() config = Config.get_conf(None, cog_name='Forums', identifier=2352711325) - config.guild(msg.guild).set.forum_tag(self.values[0]) + config.guild(msg.guild).set.forum_tag(self.values[0].id) await msg.edit(f"Set resolved tag to {self.values[0]}", view=None) class SelectView(ui.View):