Discord Rate Limits
Rate Limits prevents misleading usage or abuse of the API. Our Bot receives a lot of requests, that's why we have decided to use our own cooldown system.
Many functions have a cooldown — time till next execution is possible for the same data input/user/place (e.g. channel or guild).
The Bot acts differently if a called function is on cooldown: waits for cooldown to pass, then execute; sends an error message; cancels the execution without warning.
You can retrieve the cooldown of a function by using the command
The same function with cooldown can only be called 5 times in the code.
If Function Limit is reached, bot cancels the execution of the function without warning.
The Bot supports up to 5 parallel executions of the same custom command.
The same custom command can only be triggered once in 5 seconds.
Tier 3/4/5 allows you to run your own bot. That's why limitations are removed. Your Bot runs isolated in a separate process. Following Limits are removed:
- Function Cooldown
- Function Limit hard capped to 20 calls
- Execution Limits hard capped to 60 parallel executions
- Execution Cooldown hard capped to 0.5 seconds