Updated embed props + more
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user