Skip to content
📊 Twitch Poll Widget
TypeScript HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
src
.gitignore
LICENSE
README.md Update Info Aug 11, 2019
angular.json Initial commit Aug 7, 2019
browserslist
karma.conf.js
package-lock.json
package.json Add Poll Manager Aug 18, 2019
tsconfig.app.json
tsconfig.json
tsconfig.spec.json
tslint.json

README.md

Twitch.Poll

Simply create a widget URL with the channel and theme you want and use it as a browser source in OBS.

The poll can be configured using Twitch chat. Answers are given through Twitch chat by either writing the answer or the corosponding number, starting with 1. Every chatter can vote once, except the broadcaster which can vote multiple times.

Commands

Commands can be issued by the broadcaster or by a moderator of the channel, if enabled.

!poll start [title]|[answers]

Start a poll with multiple answers. Replace [answers] with the possible answers separated by ;.

The [title] is optional and can be ommited. If you omit [title] it is advised to omit | as well but it is not necessary.

Examples

  • !poll start A;B;C;D
  • !poll start What do you like the most?|A;B;C

!poll yesno [title]

Start a poll with Yes or No as answer possibilities. The [title] is optional and can be ommited.

Examples

  • !poll yesno
  • !poll yesno Yes or No?

!poll end

Ends the vote, as in no more votes can be cast and removes the poll.

!poll keep

Ends the vote, as in no more votes can be cast, but keeps the poll displayed.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

LICENSE

See LICENSE

Copyright © 2019 David Walter (www.davidwalter.at)

You can’t perform that action at this time.