From ee38c8c09db52e9cc71baaba765b53242f40e6b1 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sun, 31 Dec 2023 18:30:10 +1100 Subject: [PATCH] This ain't MongoDB, bruh --- src/models/userLevels.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/userLevels.ts b/src/models/userLevels.ts index 0735f43..d260ae1 100644 --- a/src/models/userLevels.ts +++ b/src/models/userLevels.ts @@ -78,7 +78,7 @@ export class UserLevelsSvc { cron.schedule('0 11 1 1 *', async()=>{ Logger.console('log', 'Cron', 'Running job "resetAllData", this is activated every 1st of January'); const performCountBeforeReset = await this.model.count(); - Logger.console('log', 'Cron:resetAllData', `Counted ${performCountBeforeReset.toLocaleString()} documents before reset`); + Logger.console('log', 'Cron:resetAllData', `Counted ${performCountBeforeReset.toLocaleString()} members before reset`); await this.client.dailyMsgs.nukeDays(); await this.model.drop().then(async()=>await this.model.sync()); @@ -87,7 +87,7 @@ export class UserLevelsSvc { .setColor('#A3FFE3').setTitle('Yearly data reset has begun!') .setDescription(MessageTool.concatMessage( 'I have gone ahead and reset everyone\'s rank data.', - `There was ${Intl.NumberFormat('en-US').format(performCountBeforeReset)} documents in database before reset.` + `There was ${Intl.NumberFormat('en-US').format(performCountBeforeReset)} members in database before reset.` )).setTimestamp() ]});