fix banking comment

This commit is contained in:
SowinskiBraeden committed 2022-08-26 14:16:14 -07:00
1 parent 63ceb3de84
commit ea799693de
1 file changed
+6 -2
+6 -2
View File
@@ -18,8 +18,12 @@ bankSchema.methods.createBank = function (userID, guildID, startingBalance) {
this.bank.guilds[guildID] = newGuild 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) { function addBank(guilds, guildID, userID, client, startingBalance) {
let updatedGuilds = guilds; let updatedGuilds = guilds;
updatedGuilds[guildID] = { updatedGuilds[guildID] = {