better bank command feedback

This commit is contained in:
SowinskiBraeden committed 2023-03-31 20:40:05 -07:00
1 parent a51c3fd648
commit dbd5b1f9ef
3 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ module.exports = {
});
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully ${args[0].name == 'add' ? 'added' : 'removed'} **$${args[0].options[0].value.toFixed(2).toLocaleString()}** ${args[0] == 'add' ? 'to' : 'from'} <@${targetUserID}>'s balance`)
.setDescription(`Successfully ${args[0].name == 'add' ? 'added' : 'removed'} **$${args[0].options[0].value.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}** ${args[0] == 'add' ? 'to' : 'from'} <@${targetUserID}>'s balance`)
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });