Updated footers to a few commands
This commit is contained in:
@@ -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
|
||||
}
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user