File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Various limits in YAGPDB custom commands (CC) for smooth functioning of the bot
24
24
- ** Calls per CC:** 1/10 (free/prem) -> counter key "runcc"
25
25
- ** StackDepth limit:** 2 (executing with 0 delay)
26
26
- ** Delay limit:** int64 limit (292 years)
27
+ - ** Channel limit:** 10 executions per channel, per minute
27
28
28
29
### scheduleUniqueCC
29
30
Original file line number Diff line number Diff line change @@ -479,6 +479,8 @@ Executes another custom command specified by `ccID`.
479
479
- ` data ` : some arbitrary data to pass to the executed custom command.
480
480
481
481
Calling ` execCC ` with 0 delay sets ` .StackDepth ` to the current recursion depth and limits it to 2.
482
+ ` execCC ` is rate-limited strictly to a maximum of 10 delayed custom commands executed per channel per minute. Executions
483
+ beyond this number will be dropped.
482
484
483
485
##### Example
484
486
You can’t perform that action at this time.
0 commit comments