Updated embed prefs

This commit is contained in:
2024-01-07 23:07:53 +01:00
parent b3d9fcbc02
commit cc2b39ff8e
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ export default async function setup(interaction: ChatInputCommandInteraction): P
description: "Counting channel has been updated to " + channelMention(channel.id), description: "Counting channel has been updated to " + channelMention(channel.id),
color: embedColor, color: embedColor,
footer: { footer: {
icon_url: interaction.guild!.iconURL()!, icon_url: interaction.guild!.iconURL() || undefined,
text: interaction.guild!.name + " | " + devMessage text: interaction.guild!.name + " | " + devMessage
} }
}] }]

View File

@@ -126,7 +126,7 @@ export = {
color: wlembed.color!, color: wlembed.color!,
footer: { footer: {
text: "Last updated by " + user.username, text: "Last updated by " + user.username,
icon_url: user.avatarURL()!, icon_url: user.avatarURL() || undefined,
}, },
thumbnail: wlembed.thumbnail!, thumbnail: wlembed.thumbnail!,
fields: fields, fields: fields,

View File

@@ -45,7 +45,7 @@ export = {
color: embed.color!, color: embed.color!,
footer: { footer: {
text: "Last updated by " + user.username, text: "Last updated by " + user.username,
icon_url: user.avatarURL()!, icon_url: user.avatarURL() || undefined,
}, },
thumbnail: embed.thumbnail!, thumbnail: embed.thumbnail!,
fields: fields, fields: fields,