forked from engineering/crv2
fix for description issue
parent
1e2b777672
commit
0811bfbde9
|
@ -73,7 +73,7 @@ export default class Whois extends DiscordInteractionCommand {
|
|||
}
|
||||
}
|
||||
embed.setColor(guildMember.displayColor);
|
||||
embed.setDescription(embedDescription);
|
||||
if (embedDescription?.length > 0) embed.setDescription(embedDescription);
|
||||
embed.setFooter({ text: `Discord ID: ${guildMember.id}${databaseMember ? `Internal ID: ${databaseMember?._id}` : ''}` });
|
||||
|
||||
return await interaction.editReply({ embeds: [embed] });
|
||||
|
|
Loading…
Reference in New Issue