This commit is contained in:
Miodec 2021-06-05 20:10:52 +01:00
parent dd9a5e618a
commit e3aa496ad9

View file

@ -88,7 +88,7 @@ db.collection("bot-commands")
.get()
.then((botCommandsSnapshot) => {
botCommandsSnapshot.forEach((bcDoc) => {
let newBotCommand = new BotCommand(botCommandDoc);
let newBotCommand = new BotCommand(bcDoc);
newBotCommand.save();
});
});