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
2424- ** Calls per CC:** 1/10 (free/prem) -> counter key "runcc"
2525- ** StackDepth limit:** 2 (executing with 0 delay)
2626- ** Delay limit:** int64 limit (292 years)
27+ - ** Channel limit:** 10 executions per channel, per minute
2728
2829### scheduleUniqueCC
2930
Original file line number Diff line number Diff line change @@ -479,6 +479,8 @@ Executes another custom command specified by `ccID`.
479479- ` data ` : some arbitrary data to pass to the executed custom command.
480480
481481Calling ` 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.
482484
483485##### Example
484486
You can’t perform that action at this time.
0 commit comments