fix(forums): epic fail
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
cfc2e86bca
commit
682efc0cca
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class Select(ui.Select):
|
||||||
async def callback(self, interaction: discord.Interaction):
|
async def callback(self, interaction: discord.Interaction):
|
||||||
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).set.forum_tag(self.values[0].id)
|
await config.guild(msg.guild).forum_tag.set(self.values[0].id)
|
||||||
await msg.edit(f"Set resolved tag to {self.values[0]}", view=None)
|
await msg.edit(f"Set resolved tag to {self.values[0]}", view=None)
|
||||||
await interaction.response.defer()
|
await interaction.response.defer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue