fix(forums): hopefully fixed how the tagset command works
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
355cec9eff
commit
c288a1324c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Forums(commands.Cog):
|
||||||
options = []
|
options = []
|
||||||
for tag in data:
|
for tag in data:
|
||||||
emoji = ctx.guild.get_emoji(tag.emoji.id) if tag.emoji.id else str(tag.emoji.name)
|
emoji = ctx.guild.get_emoji(tag.emoji.id) if tag.emoji.id else str(tag.emoji.name)
|
||||||
options.append(discord.SelectOption(label=tag.name, emoji=emoji, description="", value=tag.id))
|
options.append(discord.SelectOption(label=tag.name, emoji=emoji, description="", value=int(tag.id)))
|
||||||
return options
|
return options
|
||||||
|
|
||||||
@forumsconfig.command(name="tagset")
|
@forumsconfig.command(name="tagset")
|
||||||
|
|
Loading…
Reference in a new issue