Skip to main content

Twitch Polls – 1.5.0.1

Poll and Action help messages are specified in help tags in the Polls editor of the Edit page. When help tags are not available no help message is displayed. Example poll list with help messages:

{
  "logo": {
    "help": "show or hide logo",
    "actions": {
      "show": {
        "commands": "Overlay.Logo.Display = 'Show';",
        "help": "show logo"
      },
      "hide": {
        "commands": "Overlay.Logo.Display = 'Hide';",
        "help": "hide logo"
      }
    },
    "duration": 5
  },
  "grid": {
    "actions": {
      "show": {
        "commands": "Overlay.Grid.Display = 'Show';"
      },
      "hide": {
        "commands": "Overlay.Grid.Display = 'Hide';"
      }
    },
    "duration": 5
  }
}

Typing polls in chat sends the global help message to the chat. In the example below:

<div class="bbCodeBlock bbCodeCode">
<div class="type">Code:</div>
<pre>Available polls: logo grid</pre>
</div>

In the example below typing logo in chat sends the corresponding poll and action help strings:

<div class="bbCodeBlock bbCodeCode">
<div class="type">Code:</div> <pre>logo: show or hide logo logo show: show logo logo hide: hide logo</pre> </div>
Was this article helpful?

Related Articles

Leave a Reply

Need Support?

Join our Community Discord Server
Join Discord