fix(forums): forumtag now is outputted as a name
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-01 22:17:12 -04:00
parent d36f42e8b9
commit 007fdac361
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -108,7 +108,7 @@ class Forums(commands.Cog):
# Create select options from the proxy data # Create select options from the proxy data
options = self.create_select_options(ctx, channel.available_tags) options = self.create_select_options(ctx, channel.available_tags)
config = Config.get_conf(None, cog_name='Forums', identifier=2352711325) config = Config.get_conf(None, cog_name='Forums', identifier=2352711325)
tag = config.guild(ctx.guild).forum_tag() tag = config.guild(ctx.guild).forum_tag().name
msg = await ctx.send(f"Forum tag is currently set to `{tag}`.") msg = await ctx.send(f"Forum tag is currently set to `{tag}`.")
await msg.edit(view=SelectView(msg, options)) await msg.edit(view=SelectView(msg, options))