debug collect income

This commit is contained in:
SowinskiBraeden committed 2023-06-08 09:14:57 -07:00
1 parent 7b6e0441eb
commit 49d6bc2047
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ module.exports = {
if (!success) return client.sendInternalError(interaction, 'Failed to add bank'); if (!success) return client.sendInternalError(interaction, 'Failed to add bank');
} }
if (!client.exists(banking.guilds[GuildDB.serverID].lastIncome)) banking.guilds[GuildDB.serverID].lastIncome: new Date('2000-01-01T00:00:00'); if (!client.exists(banking.guilds[GuildDB.serverID].lastIncome)) banking.guilds[GuildDB.serverID].lastIncome = new Date('2000-01-01T00:00:00');
let now = new Date(); let now = new Date();
let diff = (now - banking.guilds[GuildDB.serverID].lastIncome) / 1000; let diff = (now - banking.guilds[GuildDB.serverID].lastIncome) / 1000;
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "6.12.3", "version": "6.12.4",
"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": {