diff --git a/content/docs/reference/custom-commands-limits.md b/content/docs/reference/custom-commands-limits.md index 992672c..e0c569c 100644 --- a/content/docs/reference/custom-commands-limits.md +++ b/content/docs/reference/custom-commands-limits.md @@ -24,6 +24,7 @@ Various limits in YAGPDB custom commands (CC) for smooth functioning of the bot - **Calls per CC:** 1/10 (free/prem) -> counter key "runcc" - **StackDepth limit:** 2 (executing with 0 delay) - **Delay limit:** int64 limit (292 years) +- **Channel limit:** 10 executions per channel, per minute ### scheduleUniqueCC diff --git a/content/docs/reference/templates/functions.md b/content/docs/reference/templates/functions.md index a760891..f5241d1 100644 --- a/content/docs/reference/templates/functions.md +++ b/content/docs/reference/templates/functions.md @@ -479,6 +479,8 @@ Executes another custom command specified by `ccID`. - `data`: some arbitrary data to pass to the executed custom command. Calling `execCC` with 0 delay sets `.StackDepth` to the current recursion depth and limits it to 2. +`execCC` is rate-limited strictly to a maximum of 10 delayed custom commands executed per channel per minute. Executions +beyond this number will be dropped. ##### Example