debug bank

This commit is contained in:
SowinskiBraeden committed 2023-03-31 20:18:45 -07:00
1 parent 73f4123220
commit f85aadff6b
6 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ module.exports = {
client.dbo.collection("users").updateOne({ "user.userID": interaction.member.user.id }, {
$set: {
[`banking.guilds.${GuildDB.serverID}.bankAccount.balance`]: newBalance,
[`user.guilds.${GuildDB.serverID}.bankAccount.balance`]: newBalance,
}
}, function(err, res) {
if (err) return client.sendInternalError(interaction, err);