fix(forums): testing another fix to the tagset command
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
85411ef585
commit
355cec9eff
1 changed files with 1 additions and 2 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue