fix(issues): fixed embed.add_field
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
Seaswimmer 2023-08-18 14:50:57 -04:00
parent 44769ae4b0
commit 67b30154bb
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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: