fix(forums): fixed concatenate error
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-07 19:38:09 -04:00
parent 10dd73ac6b
commit 5cb06247ff
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -58,7 +58,7 @@ class Forums(commands.Cog):
else: else:
response_reason = f"Thread closed by {interaction.user.mention}" response_reason = f"Thread closed by {interaction.user.mention}"
reason = f"Thread closed by {interaction.user.name} ({interaction.user.id})" reason = f"Thread closed by {interaction.user.name} ({interaction.user.id})"
await interaction.channel.edit(locked=True, archived=True, applied_tags=interaction.channel.applied_tags + await self.config.guild(interaction.guild).forum_tag(), reason=reason) await interaction.channel.edit(locked=True, archived=True, applied_tags=interaction.channel.applied_tags + [interaction.channel.get_tag(await self.config.guild(interaction.guild).forum_tag())], reason=reason)
await self.msg.edit(content=response_reason, view=None) await self.msg.edit(content=response_reason, view=None)
await self.ctx.message.add_reaction("") await self.ctx.message.add_reaction("")
else: else: