mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
Lower the time limit for ready event activation
This commit is contained in:
@@ -26,8 +26,8 @@ export async function handleInternalReady(
|
||||
// Triggered on each shard
|
||||
eventHandlers.shardReady?.(shardID);
|
||||
if (payload.shard && shardID === payload.shard[1] - 1) {
|
||||
// Wait 10 seconds to allow all guild create events to be processed
|
||||
await delay(10000);
|
||||
// Wait for 5 seconds to allow all guild create events to be processed
|
||||
await delay(5000);
|
||||
cache.isReady = true;
|
||||
eventHandlers.ready?.();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user