fix(forums): fixed the forum_tag msg edit function in Select class
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
5a77adf1cd
commit
acdb1ddecd
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class Select(ui.Select):
|
||||||
msg: discord.Message = self.message
|
msg: discord.Message = self.message
|
||||||
config = Config.get_conf(None, cog_name='Forums', identifier=2352711325)
|
config = Config.get_conf(None, cog_name='Forums', identifier=2352711325)
|
||||||
await config.guild(msg.guild).forum_tag.set(self.values[0])
|
await config.guild(msg.guild).forum_tag.set(self.values[0])
|
||||||
await msg.edit(f"Set resolved tag to {self.values[0]}", view=None)
|
await msg.edit(content=f"Set resolved tag to {self.values[0]}", view=None)
|
||||||
await interaction.response.defer()
|
await interaction.response.defer()
|
||||||
|
|
||||||
class SelectView(ui.View):
|
class SelectView(ui.View):
|
||||||
|
|
Loading…
Reference in a new issue