Merge branch 'dev' into 'main'
Updated all button file embed props See merge request illegitimate/illegitimate-bot!165
This commit is contained in:
@@ -236,7 +236,7 @@ export = {
|
|||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
text: interaction.guild!.name + " | " + devMessage,
|
text: interaction.guild!.name + " | " + devMessage,
|
||||||
icon_url: interaction.guild!.iconURL()!,
|
icon_url: interaction.guild!.iconURL() || undefined,
|
||||||
},
|
},
|
||||||
fields: statsFields,
|
fields: statsFields,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -143,10 +143,10 @@ export = {
|
|||||||
"Application has been accepted by <@" + user.id + ">.",
|
"Application has been accepted by <@" + user.id + ">.",
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: applicant.avatarURL() || guild.iconURL()!,
|
url: applicant.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: guild.iconURL()!,
|
icon_url: guild.iconURL({ forceStatic: false }) || undefined,
|
||||||
text: "ID: " + applicant.id,
|
text: "ID: " + applicant.id,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -548,7 +548,7 @@ export = {
|
|||||||
" - Guild Application",
|
" - Guild Application",
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: user.avatarURL() || guild.iconURL()!,
|
url: user.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
@@ -585,7 +585,7 @@ export = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: guild.iconURL()!,
|
icon_url: guild.iconURL({ forceStatic: false }) || "",
|
||||||
text: "ID: " + user.user.id,
|
text: "ID: " + user.user.id,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ module.exports = {
|
|||||||
" - Inactivity Application",
|
" - Inactivity Application",
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: user.displayAvatarURL({ forceStatic: false }),
|
url: user.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
@@ -334,7 +334,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: user.displayAvatarURL({ forceStatic: false }),
|
icon_url: user.avatarURL({ forceStatic: false }) || undefined,
|
||||||
text: "ID: " + user.user.id,
|
text: "ID: " + user.user.id,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -59,10 +59,10 @@ export = {
|
|||||||
description: "Application accepted by <@" + user.id + ">.",
|
description: "Application accepted by <@" + user.id + ">.",
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: applicant.avatarURL()!,
|
url: applicant.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: guild.iconURL()!,
|
icon_url: guild.iconURL({ forceStatic: false }) || undefined,
|
||||||
text: "ID: " + applicantId,
|
text: "ID: " + applicantId,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -476,7 +476,7 @@ export = {
|
|||||||
" - Staff Application",
|
" - Staff Application",
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: user.avatarURL() || guild.iconURL()!,
|
url: user.avatarURL({ forceStatic: false }) || "",
|
||||||
},
|
},
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
@@ -505,7 +505,7 @@ export = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: guild.iconURL()!,
|
icon_url: guild.iconURL({ forceStatic: false }) || undefined,
|
||||||
text: "ID: " + user.user.id,
|
text: "ID: " + user.user.id,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user