clear bounties after auto collect

This commit is contained in:
SowinskiBraeden committed 2023-06-13 17:44:49 -07:00
1 parent c762b34c84
commit dedfadc939
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayz-armbands",
"version": "7.2.1",
"version": "7.2.2",
"description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js",
"nodemonConfig": {
+2
View File
@@ -133,6 +133,8 @@ module.exports = {
receivedBounty = new EmbedBuilder()
.setColor(client.config.Colors.Default)
.setDescription(`<@${killerStat.discordID}> received **$${totalBounty.toFixed(2)}** in bounty rewards.`);
victimStat.bounties = []; // clear bounties after claimed
}
if (killerStatIndex == -1) stats.push(killerStat);