Open CrowbarToolsRobot opened 3 months ago
The $pollWinningChoiceName
and $pollWinningChoiceVotes
variables will gain simulated event data in an upcoming release.
It looks like we still have some work to do on getting the poll choices and the poll title exposed to variables, and I'll see what I can do about that this weekend.
The PR proposed accepted adds variables for accessing the poll choices and the poll title. However, the simulate event interface is incompatible with injecting an array of poll choices, but manually using "Test Effects" will include three simulated poll options. This does not solve the initial request (allow manually specifying polling data in a simulated event), but it would fix the remainder of secondary complaints listed here.
Both of the issues brought up here should be resolved in the next release of Firebot. $pollTitle
will allow access to the title of the poll inside of a polling event (Poll Started, Poll Update, Poll Ended), and CKY added support for simulating full-flavored polling event metadata in #2784. See https://github.com/crowbartools/Firebot/issues/2348#issuecomment-2427468232 for further information about the incoming $pollChoices
variable.
Description
When using "Simulate Event" to simulate a "Channel Poll Ending", I should be able to add poll result names and vote counts for testing
$pollWinningChoiceName
and$pollWinningChoiceVotes
. Currently I can only add "Title" which also doesn't seem accessible via $vars.Submitted By
spex.dev