Skip to main content
Corvus Connection

On Warning Issued

Twitch
Trigger
entry.onWarningIssuedFires when a moderator warns a chatter. Binds the user, the moderator, and the reason.Triggers when a warning is issued.Requires the moderator:read:warnings 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
reason
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
  • Name
    reason
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
userId
System.String
The warned user's user id.
userName
System.String
The warned user's display name.
moderatorName
System.String
The display name of the moderator who issued the warning.
reason
System.String
The reason given for the warning.
  • Name
    userId
    Type
    System.String
    Description
    The warned user's user id.
  • Name
    userName
    Type
    System.String
    Description
    The warned user's display name.
  • Name
    moderatorName
    Type
    System.String
    Description
    The display name of the moderator who issued the warning.
  • Name
    reason
    Type
    System.String
    Description
    The reason given for the warning.

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#

[OnWarningIssued] Handle(ctx, WarningContext e)