Small null fix

This commit is contained in:
2023-11-16 23:21:34 +01:00
parent 229231d7d2
commit 79b3216686

View File

@@ -69,9 +69,7 @@ module.exports = {
.setDescription("The application has been denied by <@" + interaction.user.id + ">.\n" + .setDescription("The application has been denied by <@" + interaction.user.id + ">.\n" +
"**Reason:** `" + reason + "`") "**Reason:** `" + reason + "`")
.setColor(embedColor) .setColor(embedColor)
.setThumbnail({ .setThumbnail(guild.iconURL())
url: applicant.avatarURL() ?? guild.iconURL()
})
.setFooter({ .setFooter({
iconURL: guild.iconURL(), iconURL: guild.iconURL(),
text: "ID: " + applicant.id text: "ID: " + applicant.id