Invite delete endpoint ratelimit clarification #4874
Replies: 1 comment
-
After a bit of digging, it looks like to be an X amount of invite to delete every 12 hours. (like 1-2k request) So instead of having a client endpoint to delete invites, I would be able to use a channel endpoint to delete an invite, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the limit enforcement discussed in #4118
Larger servers are fulfilling their invite list in a few hours, so to make room for new invite to be created, they to delete oldest or none used invites.
To delete these Invites, they mostly spam the delete button in server settings, which lead to their ip to be banned from this endpoint for like an hour a bit annoying but I can understand.
The problem is, for a discord bot, invites deletion work the same, but after a bit of time receive the temporary api ban.
I've checked ratelimits buckets and it is not like you have 0 over X remaining. It's just a single use bucket which refresh instantly, so no way to know how to avoid the endpoint ban.
So I would like to:
Beta Was this translation helpful? Give feedback.
All reactions