Skip to content

Commit d409528

Browse files
committed
chore(autoresponses): add response for member request rate limit
1 parent ff6199c commit d409528

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

autoresponses/autoresponses.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[member-arrive]
2+
keyphrases = ["members didn't arrive in time"]
3+
content = """
4+
Discord introduced a rate limit on requesting all guild members [(src)](<https://discord.com/developers/docs/change-log#introducing-rate-limit-when-requesting-all-guild-members>)
5+
-# While the announcements state 01/11/2025 as roll out date, they have confirmed that this has only taken full effect a few days ago.
6+
7+
- Apps can now request all members **once** per **30s** per guild.
8+
- You will have to update your code accordingly to make sure this doesn't affect your app.
9+
- Look for instances of [`guild.members.fetch()`](<https://discord.js.org/docs/packages/discord.js/14.24.2/GuildMemberManager:Class#fetch>) with no or multiple user ids.
10+
-# We are working on making the `GuildMemberManager#fetch()` call reject, if we receive this rate limit after requesting members. This will likely land in the next release.
11+
-# If you confirmed this cannot be the reason, you can find other caveats [in our guide](<https://discordjs.guide/legacy/popular-topics/errors#members-didnt-arrive-in-time>) <:djsguide:862626783890636830>.
12+
"""
13+
reply = true
14+
mention = true

0 commit comments

Comments
 (0)