Skip to main content
Corvus Connection

On Poll End

Twitch
Trigger
entry.onPollEndFires when a poll ends. Binds the title and the winning choice + its votes.Triggers when a poll ends.
Engagement

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
title
Data
System.String
multiplexed
result
Data
System.String
multiplexed
votes
Data
System.Int32
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    title
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    result
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    votes
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed

Bindings

Name
Type
Description
title
System.String
The poll's title.
result
System.String
The winning choice.
votes
System.Int32
How many votes the winning choice received.
  • Name
    title
    Type
    System.String
    Description
    The poll's title.
  • Name
    result
    Type
    System.String
    Description
    The winning choice.
  • Name
    votes
    Type
    System.Int32
    Description
    How many votes the winning choice received.

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#

[OnPollEnd] Handle(ctx, PollContext e)