Skip to main content
Corvus Connection

On Chat Cleared

Twitch
Trigger
entry.onChatClearedFires when a moderator clears the chat. Binds when it happened.Triggers when the chat is cleared.Requires the user:read:chat scope.
ModerationChat

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
occurredAt
Data
System.DateTime
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    occurredAt
    Kind
    Data
    Type
    System.DateTime
    Flags
    multiplexed

Bindings

Name
Type
Description
occurredAt
System.DateTime
When the chat was cleared (UTC).
  • Name
    occurredAt
    Type
    System.DateTime
    Description
    When the chat was cleared (UTC).

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#

[OnChatCleared] Handle(ctx, ChatClearedContext e)