debug collect-income

This commit is contained in:
SowinskiBraeden committed 2023-05-14 20:06:39 -07:00
1 parent 8e3725f133
commit 1035315a43
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ module.exports = {
newData.bankAccount.balance += totalIncome;
newData.lastIncome = now;
client.dbo.collection("banks").updateOne({"banking.userID":interaction.member.user.id},{$set:{[`user.guilds.${GuildDB.serverID}`]: newData}}, function(err, res) {
client.dbo.collection("users").updateOne({"user.userID":interaction.member.user.id},{$set:{[`user.guilds.${GuildDB.serverID}`]: newData}}, function(err, res) {
if (err) return client.sendInternalError(interaction, err);
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayz-armbands",
"version": "6.7.7",
"version": "6.7.8",
"description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js",
"nodemonConfig": {