diff --git a/src/client/components/managers/ModerationManager.ts b/src/client/components/managers/ModerationManager.ts index bb1f12a..44bfe8a 100644 --- a/src/client/components/managers/ModerationManager.ts +++ b/src/client/components/managers/ModerationManager.ts @@ -204,7 +204,7 @@ class ModerationManager implements Initialisable, CallbackClient const results = await this.#client.mongodb.infractions.find(filter); this.#logger.info(`Filtering ${results.length} infractions for callback.`); for (const result of results) - this.handleTimedInfraction(result); + await this.handleTimedInfraction(result); const ids = results.map(result => result._id); await this.#client.mongodb.infractions.removeProperty({ _id: { $in: ids } }, [ '_callbacked' ]); this.#ready = true;