add/remove channels with allowed channels

This commit is contained in:
SowinskiBraeden committed 2022-07-06 12:00:02 -07:00
1 parent 8a5986a620
commit 250061756b
3 files changed
+117 -13

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ module.exports = {
}
newBalance = banking.account.balance + args[0].value;
newCash = Math.abs(banking.account.cash - args[0].value);
newCash = Math.abs(banking.account.cash.toFixed(2) - args[0].value);
client.dbo.collection("banking").updateOne({"account.userID":interaction.member.user.id},{$set:{"account.balance":newBalance,"account.cash":newCash}}, function(err, res) {
if (err) {