Removing useless forcestatis option

This commit is contained in:
2024-01-07 23:02:28 +01:00
parent a6d6d86288
commit 0296dbff77
27 changed files with 65 additions and 65 deletions

View File

@@ -115,7 +115,7 @@ export = {
embeds: [{
author: {
name: mod.user.username,
icon_url: mod.user.avatarURL({ forceStatic: false }) || undefined,
icon_url: mod.user.avatarURL() || undefined,
},
title: "Member Banned",
description: `
@@ -126,12 +126,12 @@ export = {
`,
color: embedColor,
thumbnail: {
url: mod.user.avatarURL({ forceStatic: false }) || "",
url: mod.user.avatarURL() || "",
},
footer: {
text: "ID: " + member.user.id,
icon_url:
member.user.avatarURL({ forceStatic: false }) ||
member.user.avatarURL() ||
undefined,
},
timestamp: new Date().toISOString(),
@@ -148,7 +148,7 @@ export = {
"**Messages Deleted:** " + messageDeletionDays + " days",
color: embedColor,
thumbnail: {
url: member.user.avatarURL({ forceStatic: false }) || "",
url: member.user.avatarURL() || "",
},
footer: {
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,