Fixed formatting on button files

This commit is contained in:
2024-01-20 20:43:12 +01:00
parent 631581574c
commit 5ce69eced3
10 changed files with 802 additions and 1162 deletions

View File

@@ -19,17 +19,13 @@ export = {
const applicantId = embed.footer!.text.split(" ")[1]
const applicant = await guild.members.fetch(applicantId)
const applicantUsername =
applicant.user.username + "#" + applicant.user.discriminator
const applicantUsername = applicant.user.username + "#" + applicant.user.discriminator
await applicant.send({
embeds: [
{
description:
"Your application for the Illegitimate staff team has been accepted.",
color: embedColor
}
]
embeds: [{
description: "Your application for the Illegitimate staff team has been accepted.",
color: embedColor
}]
})
await message.edit({
@@ -52,20 +48,18 @@ export = {
await staffapp.findOneAndDelete({ userID: applicantId })
await interaction.editReply({
embeds: [
{
title: applicantUsername + " - Staff Application.",
description: "Application accepted by <@" + user.id + ">.",
color: embedColor,
thumbnail: {
url: applicant.avatarURL() || ""
},
footer: {
icon_url: guild.iconURL() || undefined,
text: "ID: " + applicantId
}
embeds: [{
title: applicantUsername + " - Staff Application.",
description: "Application accepted by <@" + user.id + ">.",
color: embedColor,
thumbnail: {
url: applicant.avatarURL() || ""
},
footer: {
icon_url: guild.iconURL() || undefined,
text: "ID: " + applicantId
}
]
}]
})
}
} as Button