12.7.14 fix set role_income options and value

This commit is contained in:
SowinskiBraeden committed 2022-10-12 19:34:21 -07:00
1 parent a12625ac29
commit 327351b20b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -199,7 +199,7 @@ module.exports = {
value: 120.00, value: 120.00,
type: 10, type: 10,
min_value: 0.01, min_value: 0.01,
required: false, required: true,
} }
] ]
}, },
@@ -634,7 +634,7 @@ module.exports = {
if (err) return client.sendInternalError(err); if (err) return client.sendInternalError(err);
}); });
} }
let perform = searchIndex = -1 ? 'set' : 'updated'; const perform = searchIndex == -1 ? 'set' : 'updated';
const successEmbed = new EmbedBuilder() const successEmbed = new EmbedBuilder()
.setDescription(`Successfully ${perform} <@&${roleId}>'s income to $${args[0].options[0].options[1].value}`) .setDescription(`Successfully ${perform} <@&${roleId}>'s income to $${args[0].options[0].options[1].value}`)
+1 -1
View File
@@ -2,7 +2,7 @@ require('dotenv').config();
module.exports = { module.exports = {
Dev: "PROD.", Dev: "PROD.",
Version: "12.7.13", Version: "12.7.14",
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
DefaultPrefix: "?", DefaultPrefix: "?",
ServerID: "955668596745461830", ServerID: "955668596745461830",