12.7.14 fix set role_income options and value
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -199,7 +199,7 @@ module.exports = {
|
||||
value: 120.00,
|
||||
type: 10,
|
||||
min_value: 0.01,
|
||||
required: false,
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -634,7 +634,7 @@ module.exports = {
|
||||
if (err) return client.sendInternalError(err);
|
||||
});
|
||||
}
|
||||
let perform = searchIndex = -1 ? 'set' : 'updated';
|
||||
const perform = searchIndex == -1 ? 'set' : 'updated';
|
||||
|
||||
const successEmbed = new EmbedBuilder()
|
||||
.setDescription(`Successfully ${perform} <@&${roleId}>'s income to $${args[0].options[0].options[1].value}`)
|
||||
|
||||
Reference in new issue
Block a user