Updated all eventt file embed reply prefs

This commit is contained in:
2024-01-07 17:24:27 +01:00
parent 584ef8cc80
commit 8009e6d8f7
3 changed files with 8 additions and 1 deletions

View File

@@ -116,7 +116,7 @@ async function guildWeekly() {
timestamp: new Date().toISOString(),
footer: {
text: channel.guild.name + " | " + devMessage,
icon_url: channel.guild.iconURL({ forceStatic: false })!,
icon_url: channel.guild.iconURL({ forceStatic: false }) || undefined,
},
},
],

View File

@@ -22,8 +22,12 @@ export = {
"Account created: " +
member.user.createdAt.toLocaleString(),
color: embedColor,
thumbnail: {
url: member.user.avatarURL({ forceStatic: false }) || "",
},
footer: {
text: "ID: " + member.id,
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,
},
timestamp: new Date().toISOString(),
},

View File

@@ -32,6 +32,7 @@ export = {
color: embedColor,
footer: {
text: "ID: " + newState.member!.id,
icon_url: newState.member!.user.avatarURL({ forceStatic: false }) || undefined,
},
timestamp: new Date().toISOString(),
},
@@ -49,6 +50,7 @@ export = {
color: embedColor,
footer: {
text: "ID: " + oldState.member!.id,
icon_url: oldState.member!.user.avatarURL({ forceStatic: false }) || undefined,
},
timestamp: new Date().toISOString(),
},
@@ -70,6 +72,7 @@ export = {
color: embedColor,
footer: {
text: "ID: " + oldState.member!.id,
icon_url: oldState.member!.user.avatarURL({ forceStatic: false }) || undefined,
},
timestamp: new Date().toISOString(),
},