Updated footers to a few commands

This commit is contained in:
2023-11-30 18:36:30 +01:00
parent ba33bd2296
commit 96b8432d48
8 changed files with 16 additions and 16 deletions

View File

@@ -70,7 +70,7 @@ async function guildInfo(interaction) {
const guildMembersDailyXP = Object.values(guildMembers).map((m) => m.expHistory[Object.keys(m.expHistory)[0]])
const totalGuildMembersDailyXP = guildMembersDailyXP.reduce((a, b) => a + b, 0)
const footerText = interaction.guild ? interaction.guild.name : interaction.user.username + " | " + devMessage
const footerText = interaction.guild ? interaction.guild.name : interaction.user.username
const footerIcon = interaction.guild ? interaction.guild.iconURL({ dynamic: true }) : interaction.user.avatarURL({ dynamic: true })
await interaction.editReply({
@@ -98,7 +98,7 @@ async function guildInfo(interaction) {
],
color: embedColor,
footer: {
text: footerText,
text: footerText + " | " + devMessage,
icon_url: footerIcon
}
}]