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

This commit is contained in:
Seaswimmer 2023-09-01 22:30:45 -04:00
parent 5a77adf1cd
commit acdb1ddecd
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -121,7 +121,7 @@ class Select(ui.Select):
msg: discord.Message = self.message
config = Config.get_conf(None, cog_name='Forums', identifier=2352711325)
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()
class SelectView(ui.View):