Merge branch 'dev' into 'main'
Dev See merge request illegitimate/illegitimate-bot!167
This commit is contained in:
@@ -34,7 +34,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -87,7 +87,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -155,7 +155,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -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,10 +148,10 @@ 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,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -301,7 +301,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: true, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
fields: statsFields,
|
||||
},
|
||||
|
||||
@@ -63,7 +63,7 @@ export = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: interaction.user.username,
|
||||
icon_url: interaction.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.user.avatarURL() || undefined,
|
||||
},
|
||||
title: "Messages Cleared",
|
||||
description: `
|
||||
@@ -73,11 +73,11 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.user.avatarURL({ forceStatic: false }) || "",
|
||||
url: interaction.user.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: "ID: " + channel.id,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString()
|
||||
}]
|
||||
|
||||
@@ -80,9 +80,7 @@ export = {
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
}) || undefined,
|
||||
interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -21,9 +21,7 @@ export default async function ban(
|
||||
" is currently banned from counting",
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
@@ -40,7 +38,7 @@ export default async function ban(
|
||||
" has been banned from counting",
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -16,7 +16,7 @@ export default async function setup(interaction: ChatInputCommandInteraction): P
|
||||
description: "Counting channel has been updated to " + channelMention(channel.id),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false })!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage
|
||||
}
|
||||
}]
|
||||
@@ -35,7 +35,7 @@ export default async function setup(interaction: ChatInputCommandInteraction): P
|
||||
description: "Counting channel has been set to " + channelMention(channel.id),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -21,9 +21,7 @@ export default async function ban(
|
||||
" is currently not banned from counting",
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
@@ -40,7 +38,7 @@ export default async function ban(
|
||||
" has been unbanned from counting",
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -58,7 +58,7 @@ export = {
|
||||
title: "Force Unverified",
|
||||
author: {
|
||||
name: mod.username,
|
||||
icon_url: mod.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: mod.avatarURL() || undefined,
|
||||
},
|
||||
description: `
|
||||
**User:** ${userMention(member.user.id)}
|
||||
@@ -68,10 +68,10 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.avatarURL({ forceStatic: false }) || "",
|
||||
url: mod.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: member.user.avatarURL() || undefined,
|
||||
text: "ID: " + member.user.id,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
@@ -87,7 +87,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -45,7 +45,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -100,9 +100,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -170,7 +168,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -186,7 +186,7 @@ export = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: modName,
|
||||
icon_url: mod.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: mod.avatarURL() || undefined,
|
||||
},
|
||||
title: "Force Verified",
|
||||
description: `
|
||||
@@ -197,10 +197,10 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.avatarURL({ forceStatic: false }) || "",
|
||||
url: mod.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: user.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: user.user.avatarURL() || undefined,
|
||||
text: "ID: " + user.user.id
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
@@ -222,7 +222,7 @@ export = {
|
||||
url: head!,
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -109,9 +109,7 @@ export = {
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
}) || undefined,
|
||||
interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -235,7 +235,7 @@ export default async function guildInfo(
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild!.iconURL({ forceStatic: false }) ||
|
||||
interaction.guild!.iconURL() ||
|
||||
undefined,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -54,9 +54,7 @@ export default async function guildMember(
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -102,9 +100,7 @@ export default async function guildMember(
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -204,7 +200,7 @@ export default async function guildMember(
|
||||
],
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -286,7 +286,7 @@ export default async function guildTop(
|
||||
" | " +
|
||||
devMessage +
|
||||
cacheStatusText,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -66,10 +66,10 @@ export = {
|
||||
fields: commandList,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.guild!.iconURL({ forceStatic: true }) || "",
|
||||
url: interaction.guild!.iconURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -32,7 +32,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
image: {
|
||||
url: instructionsgif,
|
||||
|
||||
@@ -82,7 +82,7 @@ export = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: mod.user.username,
|
||||
icon_url: mod.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: mod.user.avatarURL() || undefined,
|
||||
},
|
||||
title: "Member Kicked",
|
||||
description: `
|
||||
@@ -92,11 +92,11 @@ 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 }) || undefined,
|
||||
icon_url: member.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
}]
|
||||
@@ -111,10 +111,10 @@ export = {
|
||||
"**Moderator:** " + mod.user.username,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: member.user.avatarURL({ forceStatic: false }) || "",
|
||||
url: member.user.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
}
|
||||
},
|
||||
|
||||
@@ -27,9 +27,7 @@ export = {
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild?.iconURL({
|
||||
forceStatic: false,
|
||||
}) || undefined,
|
||||
interaction.guild?.iconURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
},
|
||||
|
||||
@@ -64,7 +64,7 @@ export = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: mod.username,
|
||||
icon_url: mod.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: mod.avatarURL() || undefined,
|
||||
},
|
||||
title: "Waiting List - Remove User",
|
||||
description: `
|
||||
@@ -74,10 +74,10 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.avatarURL({ forceStatic: false }) || "",
|
||||
url: mod.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: user.avatarURL() || undefined,
|
||||
text: "ID: " + user.id,
|
||||
},
|
||||
timestamp: new Date().toISOString()
|
||||
@@ -94,7 +94,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
}
|
||||
},
|
||||
],
|
||||
|
||||
@@ -35,7 +35,7 @@ export = {
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url:
|
||||
interaction.guild!.iconURL({ forceStatic: false, }) || "",
|
||||
interaction.guild!.iconURL() || "",
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
@@ -70,7 +70,7 @@ export = {
|
||||
],
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -46,11 +46,11 @@ export = {
|
||||
description: message,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.guild!.iconURL({ forceStatic: false, }) || "",
|
||||
url: interaction.guild!.iconURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.id + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: true }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -63,7 +63,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -52,7 +52,7 @@ export = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: interaction.user.username,
|
||||
icon_url: interaction.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.user.avatarURL() || undefined,
|
||||
},
|
||||
title: "Nickname",
|
||||
description: `
|
||||
@@ -62,11 +62,11 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.user.avatarURL({ forceStatic: false }) || "",
|
||||
url: interaction.user.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: "ID: " + member.user.id,
|
||||
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: member.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString()
|
||||
}]
|
||||
@@ -78,7 +78,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
}
|
||||
}],
|
||||
ephemeral: true,
|
||||
|
||||
@@ -150,11 +150,11 @@ export = {
|
||||
description: description,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.guild!.iconURL({ forceStatic: false }) || "",
|
||||
url: interaction.guild!.iconURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
}
|
||||
}],
|
||||
components: [
|
||||
|
||||
@@ -53,9 +53,7 @@ export = {
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
}) || undefined,
|
||||
interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -67,7 +65,7 @@ export = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: interaction.user.username,
|
||||
icon_url: interaction.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.user.avatarURL() || undefined,
|
||||
},
|
||||
title: "Slowmode Update",
|
||||
description: `
|
||||
@@ -77,10 +75,10 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.user.avatarURL({ forceStatic: false }) || "",
|
||||
url: interaction.user.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: " ID: " + channel.id
|
||||
},
|
||||
timestamp: new Date().toISOString()
|
||||
@@ -95,8 +93,7 @@ export = {
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild!.iconURL({ forceStatic: true }) ||
|
||||
undefined,
|
||||
interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -68,7 +68,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -278,7 +278,7 @@ export default async function beast(
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
fields: statsFields,
|
||||
},
|
||||
|
||||
@@ -55,10 +55,10 @@ export default async function help(
|
||||
fields: commandList,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: interaction.guild!.iconURL({ forceStatic: false }) || "",
|
||||
url: interaction.guild!.iconURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild?.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -143,7 +143,7 @@ const command: Command = {
|
||||
embeds: [{
|
||||
author: {
|
||||
name: mod.user.username,
|
||||
icon_url: mod.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: mod.user.avatarURL() || undefined,
|
||||
},
|
||||
title: title,
|
||||
description: `
|
||||
@@ -154,11 +154,11 @@ const command: Command = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.user.avatarURL({ forceStatic: false }) || "",
|
||||
url: mod.user.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: "ID: " + target.id,
|
||||
icon_url: target.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: target.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString()
|
||||
}]
|
||||
@@ -171,7 +171,7 @@ const command: Command = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -76,7 +76,7 @@ export = {
|
||||
{
|
||||
author: {
|
||||
name: mod.username,
|
||||
icon_url: mod.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: mod.avatarURL() || undefined,
|
||||
},
|
||||
title: "Member Unbanned",
|
||||
description: `
|
||||
@@ -86,11 +86,11 @@ export = {
|
||||
`,
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.avatarURL({ forceStatic: false }) || "",
|
||||
url: mod.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: "ID: " + user!.id,
|
||||
icon_url: user.avatarURL({ forceStatic: false}) || undefined,
|
||||
icon_url: user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
},
|
||||
@@ -107,10 +107,10 @@ export = {
|
||||
"**Moderator:** " + userMention(mod.id),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: user!.avatarURL({ forceStatic: false }) || "",
|
||||
url: user!.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -75,9 +75,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -144,7 +142,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -60,7 +60,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -54,7 +54,7 @@ export = {
|
||||
},
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: true, }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -60,8 +60,7 @@ export = {
|
||||
footer: {
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url:
|
||||
interaction.guild!.iconURL({ forceStatic: true }) ||
|
||||
undefined,
|
||||
interaction.guild!.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -126,7 +126,7 @@ export = {
|
||||
color: wlembed.color!,
|
||||
footer: {
|
||||
text: "Last updated by " + user.username,
|
||||
icon_url: user.avatarURL()!,
|
||||
icon_url: user.avatarURL() || undefined,
|
||||
},
|
||||
thumbnail: wlembed.thumbnail!,
|
||||
fields: fields,
|
||||
@@ -143,10 +143,10 @@ export = {
|
||||
"Application has been accepted by <@" + user.id + ">.",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: applicant.avatarURL({ forceStatic: false }) || "",
|
||||
url: applicant.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: guild.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: guild.iconURL() || undefined,
|
||||
text: "ID: " + applicant.id,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -548,7 +548,7 @@ export = {
|
||||
" - Guild Application",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: user.avatarURL({ forceStatic: false }) || "",
|
||||
url: user.avatarURL() || "",
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
@@ -585,7 +585,7 @@ export = {
|
||||
},
|
||||
],
|
||||
footer: {
|
||||
icon_url: guild.iconURL({ forceStatic: false }) || "",
|
||||
icon_url: guild.iconURL() || "",
|
||||
text: "ID: " + user.user.id,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -317,7 +317,7 @@ module.exports = {
|
||||
" - Inactivity Application",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: user.avatarURL({ forceStatic: false }) || "",
|
||||
url: user.avatarURL() || "",
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
@@ -334,7 +334,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
footer: {
|
||||
icon_url: user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: user.avatarURL() || undefined,
|
||||
text: "ID: " + user.user.id,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -59,10 +59,10 @@ export = {
|
||||
description: "Application accepted by <@" + user.id + ">.",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: applicant.avatarURL({ forceStatic: false }) || "",
|
||||
url: applicant.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: guild.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: guild.iconURL() || undefined,
|
||||
text: "ID: " + applicantId,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -476,7 +476,7 @@ export = {
|
||||
" - Staff Application",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: user.avatarURL({ forceStatic: false }) || "",
|
||||
url: user.avatarURL() || "",
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
@@ -505,7 +505,7 @@ export = {
|
||||
},
|
||||
],
|
||||
footer: {
|
||||
icon_url: guild.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: guild.iconURL() || undefined,
|
||||
text: "ID: " + user.user.id,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -45,7 +45,7 @@ export = {
|
||||
color: embed.color!,
|
||||
footer: {
|
||||
text: "Last updated by " + user.username,
|
||||
icon_url: user.avatarURL()!,
|
||||
icon_url: user.avatarURL() || undefined,
|
||||
},
|
||||
thumbnail: embed.thumbnail!,
|
||||
fields: fields,
|
||||
|
||||
@@ -83,9 +83,9 @@ export = {
|
||||
"`",
|
||||
)
|
||||
.setColor(embedColor)
|
||||
.setThumbnail(guild.iconURL({ forceStatic: false }) || "")
|
||||
.setThumbnail(guild.iconURL() || "")
|
||||
.setFooter({
|
||||
iconURL: guild.iconURL({ forceStatic: false }) || undefined,
|
||||
iconURL: guild.iconURL() || undefined,
|
||||
text: "ID: " + applicantId,
|
||||
})
|
||||
|
||||
|
||||
@@ -70,10 +70,10 @@ export = {
|
||||
"`",
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: applicant.avatarURL({ forceStatic: false }) || "",
|
||||
url: applicant.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
icon_url: guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: guild!.iconURL() || undefined,
|
||||
text: "ID: " + applicant.id,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -184,7 +184,7 @@ export = {
|
||||
url: head!,
|
||||
},
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -116,7 +116,7 @@ async function guildWeekly() {
|
||||
timestamp: new Date().toISOString(),
|
||||
footer: {
|
||||
text: channel.guild.name + " | " + devMessage,
|
||||
icon_url: channel.guild.iconURL({ forceStatic: false }) || undefined,
|
||||
icon_url: channel.guild.iconURL() || undefined,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -23,11 +23,11 @@ export = {
|
||||
member.user.createdAt.toLocaleString(),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: member.user.avatarURL({ forceStatic: false }) || "",
|
||||
url: member.user.avatarURL() || "",
|
||||
},
|
||||
footer: {
|
||||
text: "ID: " + member.id,
|
||||
icon_url: member.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: member.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
},
|
||||
|
||||
@@ -32,7 +32,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: "ID: " + newState.member!.id,
|
||||
icon_url: newState.member!.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: newState.member!.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
},
|
||||
@@ -50,7 +50,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: "ID: " + oldState.member!.id,
|
||||
icon_url: oldState.member!.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: oldState.member!.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
},
|
||||
@@ -72,7 +72,7 @@ export = {
|
||||
color: embedColor,
|
||||
footer: {
|
||||
text: "ID: " + oldState.member!.id,
|
||||
icon_url: oldState.member!.user.avatarURL({ forceStatic: false }) || undefined,
|
||||
icon_url: oldState.member!.user.avatarURL() || undefined,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
},
|
||||
|
||||
@@ -61,9 +61,7 @@ export default function loadAutocompleteEvents(client: Client, ft: FileType) {
|
||||
description: String(error),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text:
|
||||
interaction.user.username +
|
||||
" | " +
|
||||
|
||||
@@ -49,9 +49,7 @@ export default function loadButtonEvents(client: Client, ft: FileType) {
|
||||
description: String(error),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text:
|
||||
interaction.user.username +
|
||||
" | " +
|
||||
|
||||
@@ -49,9 +49,7 @@ export default function loadSlashCommandsEvents(client: Client, ft: FileType) {
|
||||
description: String(error),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text:
|
||||
interaction.user.username +
|
||||
" | " +
|
||||
|
||||
@@ -56,9 +56,7 @@ export default function loadContextMenuEvents(client: Client, ft: FileType) {
|
||||
description: String(error),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text:
|
||||
interaction.user.username +
|
||||
" | " +
|
||||
|
||||
@@ -50,9 +50,7 @@ export default function loadModalEvents(client: Client, ft: FileType) {
|
||||
description: String(error),
|
||||
color: embedColor,
|
||||
footer: {
|
||||
icon_url: interaction.guild!.iconURL({
|
||||
forceStatic: false,
|
||||
})!,
|
||||
icon_url: interaction.guild!.iconURL() || undefined,
|
||||
text:
|
||||
interaction.user.username +
|
||||
" | " +
|
||||
|
||||
Reference in New Issue
Block a user