diff --git a/commands/bounty.js b/commands/bounty.js index 7287a27..7104533 100644 --- a/commands/bounty.js +++ b/commands/bounty.js @@ -77,7 +77,7 @@ module.exports = { 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() .setDescription('**Bank Notice:** NSF. Non sufficient funds') .setColor(client.config.Colors.Red); diff --git a/package.json b/package.json index b324cf8..ffaa4e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayz-armbands", - "version": "8.2.8", + "version": "8.2.9", "description": "A General Purpose Discord Bot for DayZ Servers.", "main": "index.js", "nodemonConfig": {