timeout
inline fun TimeoutAutoModerationRuleBuilder.timeout(duration: Duration, builder: TimeoutAutoModerationActionBuilder.() -> Unit = {})(source)
Add a Timeout action which will execute whenever the rule is triggered.
The ModerateMembers permission is required to use this action.
Parameters
duration
the timeout duration (maximum of 2419200 seconds (4 weeks)).