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

@@ -115,7 +115,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 Banned",
description: `
@@ -126,7 +126,7 @@ export = {
`,
color: embedColor,
thumbnail: {
url: mod.user.avatarURL({ forceStatic: false })!,
url: mod.user.avatarURL({ forceStatic: false }) || "",
},
footer: {
text: "ID: " + member.user.id,
@@ -151,7 +151,7 @@ export = {
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,
},
},