fix(forums): attempting a fix to tagset
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-07 18:35:11 -04:00
parent 4fb42065b4
commit 85411ef585
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -107,7 +107,7 @@ class Forums(commands.Cog):
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 = channel.get_tag(await config.guild(ctx.guild).forum_tag()) tag = channel.get_tag(await config.guild(ctx.guild).forum_tag())
msg = await ctx.send(f"Forum tag is currently set to `{tag}`.") msg = await ctx.send(f"Forum tag is currently set to `{str(tag)}`.")
await msg.edit(view=SelectView(msg, options)) await msg.edit(view=SelectView(msg, options))
class Select(ui.Select): class Select(ui.Select):