Skip to main content
Corvus Connection

On Announcement

Twitch
Trigger
entry.onAnnouncementFires when a moderator posts a chat announcement. Binds the moderator, message, and color.Triggers on a chat announcement.Requires the user:read:chat scope.
ChatAlerts

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
moderatorName
Data
System.String
multiplexed
message
Data
System.String
multiplexed
color
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    moderatorName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    message
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    color
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
moderatorName
System.String
The display name of the moderator who posted the announcement.
message
System.String
The announcement text.
color
System.String
The announcement's highlight color.
  • Name
    moderatorName
    Type
    System.String
    Description
    The display name of the moderator who posted the announcement.
  • Name
    message
    Type
    System.String
    Description
    The announcement text.
  • Name
    color
    Type
    System.String
    Description
    The announcement's highlight color.

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#

[OnAnnouncement] Handle(ctx, AnnouncementContext e)