Updated embed props
This commit is contained in:
@@ -145,16 +145,13 @@ export = {
|
|||||||
description:
|
description:
|
||||||
"**User:** " + userMention(member.user.id) + "\n" +
|
"**User:** " + userMention(member.user.id) + "\n" +
|
||||||
"**Reason:** " + reason + "\n" +
|
"**Reason:** " + reason + "\n" +
|
||||||
"**Moderator:** " + mod.user.username + "\n" +
|
|
||||||
"**Messages Deleted:** " + messageDeletionDays + " days",
|
"**Messages Deleted:** " + messageDeletionDays + " days",
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: member.user.avatarURL({ forceStatic: false }) || interaction.guild!.iconURL({ forceStatic: false })!,
|
url: member.user.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: interaction.guild!.iconURL({
|
icon_url: interaction.guild!.iconURL({ forceStatic: false, })!,
|
||||||
forceStatic: false,
|
|
||||||
})!,
|
|
||||||
text: interaction.guild!.name + " | " + devMessage,
|
text: interaction.guild!.name + " | " + devMessage,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export = {
|
|||||||
title: "Force Unverified",
|
title: "Force Unverified",
|
||||||
author: {
|
author: {
|
||||||
name: mod.username,
|
name: mod.username,
|
||||||
icon_url: mod.avatarURL({ forceStatic: false })!,
|
icon_url: mod.avatarURL({ forceStatic: false }) || undefined,
|
||||||
},
|
},
|
||||||
description: `
|
description: `
|
||||||
**User:** ${userMention(member.user.id)}
|
**User:** ${userMention(member.user.id)}
|
||||||
@@ -68,7 +68,7 @@ export = {
|
|||||||
`,
|
`,
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.avatarURL({ forceStatic: false })!,
|
url: mod.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,
|
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user