economy: change the footer embed on the work command

This commit is contained in:
Ayden Jahola 2024-10-26 03:42:45 +01:00
parent fc46176044
commit e12591e561
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742

View file

@ -37,9 +37,10 @@ module.exports = {
.setDescription( .setDescription(
`You need to wait **${remainingMinutes}** minutes before you can work again.` `You need to wait **${remainingMinutes}** minutes before you can work again.`
) )
.setTimestamp()
.setFooter({ .setFooter({
text: `Requested in ${guild.name}`, text: `Requested by ${user.username}`,
iconURL: guild.iconURL() || null, iconURL: user.displayAvatarURL(),
}); });
await interaction.reply({ embeds: [cooldownEmbed] }); await interaction.reply({ embeds: [cooldownEmbed] });