fix(issues): fixed response field being added even if response textinput was empty
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
7fe63e99bd
commit
95669e0847
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class IssueResponseModal(discord.ui.Modal, title="Sending response message..."):
|
|||
status = "denied"
|
||||
await interaction.response.send_message(content=f"Issue request {status}.")
|
||||
|
||||
if self.response.value is not None:
|
||||
if self.response.value != "":
|
||||
embed.add_field(
|
||||
name=f"Response from {interaction.user.name}",
|
||||
value=self.response.value,
|
||||
|
|
Loading…
Reference in a new issue