Updated dm availabe commands

This commit is contained in:
2023-11-30 16:36:34 +01:00
parent b43391ae71
commit 0e4ed441a0
8 changed files with 64 additions and 46 deletions

View File

@@ -53,13 +53,16 @@ module.exports = {
return
}
const footerText = interaction.guild ? interaction.guild.name : interaction.user.username + " | " + devMessage
const footerIcon = interaction.guild ? interaction.guild.iconURL({ dynamic: true }) : interaction.user.avatarURL({ dynamic: true })
await interaction.editReply({
embeds: [{
description: "This command is currently under development",
color: embedColor,
footer: {
text: interaction?.guild.name || interaction.user.username + " | " + devMessage,
icon_url: interaction?.guild.iconURL({ dynamic: true }) || interaction.user.avatarURL({ dynamic: true })
text: footerText,
icon_url: footerIcon
}
}]
})