fix(issues): fixed embed.add_field
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
This commit is contained in:
parent
44769ae4b0
commit
67b30154bb
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Issues(commands.Cog):
|
||||||
title = item.label
|
title = item.label
|
||||||
value = item.value
|
value = item.value
|
||||||
if value is not None:
|
if value is not None:
|
||||||
embed.add_field(title, value)
|
embed.add_field(name=title, value=value, inline=False)
|
||||||
if interaction.user.discriminator == 0:
|
if interaction.user.discriminator == 0:
|
||||||
username = interaction.user.name
|
username = interaction.user.name
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue