On Ban / Timeout
Twitchentry.onBanFires when a user is banned or timed out. Binds the user, the moderator, permanence, reason, and timeout expiry.Triggers on a ban or timeout.Outputs
| out | Exec | exec | None |
| userId | Data | System.String | multiplexed |
| userName | Data | System.String | multiplexed |
| moderatorId | Data | System.String | multiplexed |
| isPermanent | Data | System.Boolean | multiplexed |
| reason | Data | System.String | multiplexed |
| endsAt | Data | System.DateTime | multiplexed |
Parameters
| cooldownSeconds | System.Int32 | no | 0 | None |
| perUserCooldownSeconds | System.Int32 | no | 0 | None |
| debounceMs | System.Int32 | no | 0 | None |
| dedupeKey | System.String | no | "" | None |
| maxConcurrency | System.Int32 | no | 0 | None |
Lowers to C#
[OnBan] Handle(ctx, BanContext e)