diff --git a/forums/forums.py b/forums/forums.py index ee31180..7630f92 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -105,8 +105,7 @@ class Forums(commands.Cog): @forumsconfig.command(name="tagset") async def forumsconfig_tag_set(self, ctx: commands.Context, channel: discord.ForumChannel): options = self.create_select_options(ctx, channel.available_tags) - config = Config.get_conf(None, cog_name='Forums', identifier=2352711325) - tag = channel.get_tag(await config.guild(ctx.guild).forum_tag()) + tag = channel.get_tag(await self.config.guild(ctx.guild).forum_tag()) msg = await ctx.send(f"Forum tag is currently set to `{str(tag)}`.") await msg.edit(view=SelectView(msg, options))