From ea799693de7dd63374d136439fe5fd5cbc61e045 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Fri, 26 Aug 2022 14:16:14 -0700 Subject: [PATCH] fix banking comment --- structures/bank.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/structures/bank.js b/structures/bank.js index 41c8209..6bfcc59 100644 --- a/structures/bank.js +++ b/structures/bank.js @@ -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] = {