debug bank
This commit is contained in:
6 files changed
+15
-15
No files matched your search
@@ -202,7 +202,7 @@ class DayzArmbands extends Client {
|
||||
|
||||
await this.dbo.collection("users").updateOne({ "user.userID": killerStat.discordID }, {
|
||||
$set: {
|
||||
[`banking.guilds.${guildId}.bankAccount.balance`]: newBalance,
|
||||
[`user.guilds.${guildId}.bankAccount.balance`]: newBalance,
|
||||
}
|
||||
}, function(err, res) {
|
||||
if (err) return this.sendError(guild.connectionLogsChannel, err);
|
||||
|
||||
Reference in new issue
Block a user