fix banking comment
This commit is contained in:
1 file changed
+6
-2
+6
-2
@@ -18,8 +18,12 @@ bankSchema.methods.createBank = function (userID, guildID, startingBalance) {
|
||||
this.bank.guilds[guildID] = newGuild
|
||||
};
|
||||
|
||||
// This function is to add a new guild specific inventory to an already existing
|
||||
// inventory document
|
||||
/*
|
||||
This function is to add a new guild specific bank to an already existing
|
||||
bank document
|
||||
or
|
||||
can be used to reset a data back to default
|
||||
*/
|
||||
function addBank(guilds, guildID, userID, client, startingBalance) {
|
||||
let updatedGuilds = guilds;
|
||||
updatedGuilds[guildID] = {
|
||||
|
||||
Reference in new issue
Block a user