diff options
| author | Zeyla Hellyer <[email protected]> | 2017-02-12 09:23:07 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-02-12 09:23:07 -0800 |
| commit | 01f687204dd9d5564ec4bdc860f11bfd5e01454f (patch) | |
| tree | b7b14cf34418cf8265e1a0d1fabf6b54335103ff /examples/06_command_framework/src | |
| parent | Handle unsuccessful responses before decoding (diff) | |
| download | serenity-01f687204dd9d5564ec4bdc860f11bfd5e01454f.tar.xz serenity-01f687204dd9d5564ec4bdc860f11bfd5e01454f.zip | |
Uniquely ratelimit message deletions
Message deletions fall under a separate ratelimit apart from the route's
global ratelimit, and so the DELETE verb for the route is now separately
handled.
This is documented [here] as the following (at the time of this
writing):
> There is currently a single exception to the above rule regarding
> different HTTP methods sharing the same rate limit, and that is for
> the deletion of messages. Deleting messages falls under a separate,
> higher rate limit so that bots are able to more quickly delete content
> from channels (which is useful for moderation bots).
[here]: https://discordapp.com/developers/docs/topics/rate-limits#rate-limits
Diffstat (limited to 'examples/06_command_framework/src')
0 files changed, 0 insertions, 0 deletions