fix(issues): reverted a previous incorrect change
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
93f87fdf37
commit
cfd5f7b19c
1 changed files with 1 additions and 2 deletions
|
@ -218,8 +218,7 @@ class Issues(commands.Cog):
|
||||||
if self.response.value is not None:
|
if self.response.value is not None:
|
||||||
embed.add_field(name=f"Response from {interaction.user.name}", value=self.response.value, inline=False)
|
embed.add_field(name=f"Response from {interaction.user.name}", value=self.response.value, inline=False)
|
||||||
for field in embed.fields:
|
for field in embed.fields:
|
||||||
if field.name != "\u200b":
|
field_names.append(field.name)
|
||||||
field_names.append(field.name)
|
|
||||||
field_values.append(field.value)
|
field_values.append(field.value)
|
||||||
await message.edit(embed=embed, view=None)
|
await message.edit(embed=embed, view=None)
|
||||||
await self.user.send(embed=embed)
|
await self.user.send(embed=embed)
|
||||||
|
|
Loading…
Reference in a new issue