Updated embed props + more

This commit is contained in:
2024-01-07 17:04:37 +01:00
parent c18a5f703f
commit 199e5e6955
19 changed files with 157 additions and 588 deletions

View File

@@ -82,7 +82,7 @@ export = {
embeds: [{
author: {
name: mod.user.username,
icon_url: mod.user.avatarURL({ forceStatic: false })!,
icon_url: mod.user.avatarURL({ forceStatic: false }) || undefined,
},
title: "Member Kicked",
description: `
@@ -92,7 +92,7 @@ export = {
`,
color: embedColor,
thumbnail: {
url: mod.user.avatarURL({ forceStatic: false })!,
url: mod.user.avatarURL({ forceStatic: false }) || "",
},
footer: {
text: "ID: " + member.user.id,
@@ -111,10 +111,10 @@ export = {
"**Moderator:** " + mod.user.username,
color: embedColor,
thumbnail: {
url: member.user.avatarURL({ forceStatic: false }) || interaction.guild!.iconURL({ forceStatic: false, })!,
url: member.user.avatarURL({ forceStatic: false }) || "",
},
footer: {
icon_url: interaction.guild!.iconURL({ forceStatic: false, })!,
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
text: interaction.guild!.name + " | " + devMessage,
}
},