debug failed nsf check in bounty
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -77,7 +77,7 @@ module.exports = {
|
|||||||
if (!success) return client.sendInternalError(interaction, 'Failed to add bank');
|
if (!success) return client.sendInternalError(interaction, 'Failed to add bank');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args[0].options[0].value > banking.guilds[GuildDB.serverID].balance) {
|
if (args[0].options[1].value > banking.guilds[GuildDB.serverID].balance) {
|
||||||
let nsf = new EmbedBuilder()
|
let nsf = new EmbedBuilder()
|
||||||
.setDescription('**Bank Notice:** NSF. Non sufficient funds')
|
.setDescription('**Bank Notice:** NSF. Non sufficient funds')
|
||||||
.setColor(client.config.Colors.Red);
|
.setColor(client.config.Colors.Red);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayz-armbands",
|
"name": "dayz-armbands",
|
||||||
"version": "8.2.8",
|
"version": "8.2.9",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user