Updated embed props

This commit is contained in:
2024-01-07 15:25:29 +01:00
parent a90c9994e3
commit c18a5f703f
2 changed files with 4 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ export = {
title: "Force Unverified",
author: {
name: mod.username,
icon_url: mod.avatarURL({ forceStatic: false })!,
icon_url: mod.avatarURL({ forceStatic: false }) || undefined,
},
description: `
**User:** ${userMention(member.user.id)}
@@ -68,7 +68,7 @@ export = {
`,
color: embedColor,
thumbnail: {
url: mod.avatarURL({ forceStatic: false })!,
url: mod.avatarURL({ forceStatic: false }) || "",
},
footer: {
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,