fix/admin add-money feedback

This commit is contained in:
SowinskiBraeden committed 2023-10-21 19:52:58 -07:00
1 parent 37aff39490
commit 3a29aaf316
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ module.exports = {
});
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully ${args[0].name == 'add-money' ? 'added' : 'removed'} **$${args[0].options[0].value.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}** ${args[0].name == 'add' ? 'to' : 'from'} <@${targetUserID}>'s balance`)
.setDescription(`Successfully ${args[0].name == 'add-money' ? 'added' : 'removed'} **$${args[0].options[0].value.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}** ${args[0].name == 'add-money' ? 'to' : 'from'} <@${targetUserID}>'s balance`)
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayzr-bot",
"version": "11.0.0",
"version": "11.0.1",
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
"main": "index.js",
"nodemonConfig": {