Skip to main content
Corvus Connection

On Unban

Twitch
Trigger
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
out
Exec
exec
None
userId
Data
System.String
multiplexed
userName
Data
System.String
multiplexed
moderatorName
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    userId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    userName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    moderatorName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
userId
System.String
The unbanned user's user id.
userName
System.String
The unbanned user's display name.
moderatorName
System.String
The display name of the moderator who lifted the ban.
  • Name
    userId
    Type
    System.String
    Description
    The unbanned user's user id.
  • Name
    userName
    Type
    System.String
    Description
    The unbanned user's display name.
  • Name
    moderatorName
    Type
    System.String
    Description
    The display name of the moderator who lifted the ban.

Parameters

Name
Type
Required
Default
Choices
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
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnUnban] Handle(ctx, UnbanContext e)