Updated all embed footers to new format

This commit is contained in:
2023-11-30 12:44:12 +01:00
parent 010aa2964d
commit c298eb5f45
21 changed files with 69 additions and 65 deletions

View File

@@ -1,5 +1,5 @@
const { getUUID, getIGN, getPlayer, getGuild, guildLevel } = require("../../utils/utils.js")
const { color } = require("../../../config/options.json")
const { color, devMessage } = require("../../../config/options.json")
/** @param { import('discord.js').ChatInputCommandInteraction } interaction */
@@ -95,7 +95,7 @@ async function guildInfo(interaction) {
],
color: embedColor,
footer: {
text: interaction.guild.name + " | Developed by taken.lua",
text: interaction.guild.name + " | " + devMessage,
icon_url: interaction.guild.iconURL({ dynamic: true })
}
}]

View File

@@ -1,5 +1,5 @@
const { getUUID, getPlayer, getGuild, getHeadURL } = require("../../utils/utils.js")
const { color } = require("../../../config/options.json")
const { color, devMessage } = require("../../../config/options.json")
/** @param { import('discord.js').ChatInputCommandInteraction } interaction */
@@ -14,10 +14,6 @@ async function guildMember(interaction) {
{
description: "This user does not exist",
color: embedColor,
footer: {
text: interaction.guild.name + " | Developed by taken.lua",
icon_url: interaction.guild.iconURL({ dynamic: true }),
},
},
],
})
@@ -36,7 +32,7 @@ async function guildMember(interaction) {
url: head,
},
footer: {
text: interaction.guild.name + " | Developed by taken.lua",
text: interaction.guild.name + " | " + devMessage,
icon_url: interaction.guild.iconURL({ dynamic: true }),
},
},
@@ -73,7 +69,7 @@ async function guildMember(interaction) {
url: head,
},
footer: {
text: interaction.guild.name + " | Developed by taken.lua",
text: interaction.guild.name + " | " + devMessage,
icon_url: interaction.guild.iconURL({ dynamic: true }),
},
},
@@ -139,7 +135,7 @@ async function guildMember(interaction) {
},
],
footer: {
text: interaction.guild.name + " | Developed by taken.lua",
text: interaction.guild.name + " | " + devMessage,
icon_url: interaction.guild.iconURL({ dynamic: true }),
},
},