Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 6b9f378

Browse files
committed
fix: update status routine to only process statuses between 6-10 minutes old
1 parent 1b5ba3b commit 6b9f378

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/classes/v3/Server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,9 @@ export async function statusRoutine() {
12411241
},
12421242
});
12431243

1244-
if (statusInfo) continue;
1244+
// Only update if status is between 6-10 minutes old
1245+
if (!statusInfo) continue;
1246+
12451247
await server.editStatusChannelAndMessage(await server.getStatusData());
12461248
}
12471249
}

0 commit comments

Comments
 (0)