12.7.9 fix self reference in createBank
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2,7 +2,7 @@ require('dotenv').config();
|
||||
|
||||
module.exports = {
|
||||
Dev: "PROD.",
|
||||
Version: "12.7.8",
|
||||
Version: "12.7.9",
|
||||
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
|
||||
DefaultPrefix: "?",
|
||||
ServerID: "955668596745461830",
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ bankSchema.methods.createBank = function (userID, guildID, startingBalance) {
|
||||
cash: 0.00,
|
||||
}
|
||||
};
|
||||
this.bank.guilds[guildID] = newGuild
|
||||
this.banking.guilds[guildID] = newGuild
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user