Skip to main content
Corvus Connection

On Ban / Timeout

Twitch
entry.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

Name
Kind
Type
Flags
outExecexecNone
userIdDataSystem.Stringmultiplexed
userNameDataSystem.Stringmultiplexed
moderatorIdDataSystem.Stringmultiplexed
isPermanentDataSystem.Booleanmultiplexed
reasonDataSystem.Stringmultiplexed
endsAtDataSystem.DateTimemultiplexed

Parameters

Name
Type
Required
Default
Choices
cooldownSecondsSystem.Int32no0None
perUserCooldownSecondsSystem.Int32no0None
debounceMsSystem.Int32no0None
dedupeKeySystem.Stringno""None
maxConcurrencySystem.Int32no0None

Lowers to C#

[OnBan] Handle(ctx, BanContext e)