Show you are being rate limited in invite modal
If you make too many requests to the invite API (like if someone spams a bunch of different invalid invites) to get invites resolved, then it'll result in a temporary API ban (with error 1015, rate limited).
However, the client doesn't communicate this to the user and simply marks the invite as invalid. This can be problematic for users who may mention the sender of an actually valid invite, or it may be troublesome to figure out why the users can't join new servers if the API ban wasn't to their knowledge.
The suggestion is to replace the "invalid invite" message that appears in the invite modal with a "you are being rate limited" message, similar to how the "you have reached the server limit" message appears.
Please sign in to leave a comment.
Comments
0 comments