diff --git a/apps/bot/src/modules/autorecord.ts b/apps/bot/src/modules/autorecord.ts index 0fd9ecd..905b6ac 100644 --- a/apps/bot/src/modules/autorecord.ts +++ b/apps/bot/src/modules/autorecord.ts @@ -27,6 +27,7 @@ interface AutoRecordUpsert { export default class AutorecordModule extends DexareModule> { debounceTimeouts = new Map(); autorecords = new Map(); + fetching = false; lastRefresh = 0; constructor(client: any) { @@ -56,6 +57,8 @@ export default class AutorecordModule extends DexareModule this.autorecords.set(autorecord.channelId, autorecord)); this.lastRefresh = Date.now(); + this.fetching = false; } async upsert(data: AutoRecordUpsert) {