From a208fa51e67eb8f655eb354adfa729c68fbef435 Mon Sep 17 00:00:00 2001 From: reflqctnl Date: Sun, 16 Nov 2025 20:20:12 +1300 Subject: [PATCH] fix(guide): update 'Members didn't arrive in time' explanation (#11245) --- .../docs/legacy/popular-topics/errors.mdx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/guide/content/docs/legacy/popular-topics/errors.mdx b/apps/guide/content/docs/legacy/popular-topics/errors.mdx index 46999372f8b0..a81cad76a5e2 100644 --- a/apps/guide/content/docs/legacy/popular-topics/errors.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/errors.mdx @@ -187,13 +187,19 @@ This error originates from an invalid call to `bulkDelete()`. Make sure you are ### Members didn't arrive in time. -This error happens when fetching multiple members via `GuildMemberManager#fetch()` and: + + Discord recently implemented a rate limit to the `GuildMemberManager#fetch()` call of one fetch per 30 seconds per + server. You must update your code accordingly if you are receiving this error -- look for instances of + `guild.members.fetch()` with no user IDs. + + +This error is related to the `GuildMemberManager#fetch()` function. The error is emitted when you fetch multiple members and any of the following conditions are true: -- The `GuildMembers` intent is not specified or enabled in the dev dashboard -- The internet connection is somewhat bad -- The amount of members fetched is large (about 50 thousand and upwards) +- The one fetch per guild per 30 seconds rate limit set by Discord has been exceeded, +- The `GuildMembers` intent is not specified or enabled in the bot dashboard, or +- The internet connection is somewhat bad. -You can specify the time to wait for with the `time` option in the `.fetch()` call. Another solution could be to move your bot to a faster infrastructure, if available. +You can specify the time to wait for with the `time` option in the `.fetch()` call. If available, moving your bot to faster infrastructure may also resolve the problem. ### MaxListenersExceededWarning: Possible EventEmitter memory leak detected...