Skip to main content
Corvus Connection

On Announcement

TwitchTrigger
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
outExecexecNone
moderatorNameDataSystem.Stringmultiplexed
messageDataSystem.Stringmultiplexed
colorDataSystem.Stringmultiplexed

Bindings

Name
Type
Description
moderatorNameSystem.StringThe display name of the moderator who posted the announcement.
messageSystem.StringThe announcement text.
colorSystem.StringThe announcement's highlight color.

Parameters

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

Lowers to C#

[OnAnnouncement] Handle(ctx, AnnouncementContext e)