Skip to main content
Corvus Connection

On Unban

TwitchTrigger
entry.onUnbanFires when a ban or timeout is lifted. Binds the user and the acting moderator.Triggers when a user is unbanned.Requires the channel:moderate scope.
ModerationSafety

Outputs

Name
Kind
Type
Flags
outExecexecNone
userIdDataSystem.Stringmultiplexed
userNameDataSystem.Stringmultiplexed
moderatorNameDataSystem.Stringmultiplexed

Bindings

Name
Type
Description
userIdSystem.StringThe unbanned user's user id.
userNameSystem.StringThe unbanned user's display name.
moderatorNameSystem.StringThe display name of the moderator who lifted the ban.

Parameters

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

Lowers to C#

[OnUnban] Handle(ctx, UnbanContext e)