add/remove channels with allowed channels
This commit is contained in:
3 files changed
+117
-13
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user