A Twitch chat bot teamed up with a web page to make for a festive stream overlay.
-
Remix my project - https://glitch.com/edit/#!/lmorchard-sparkle-bot
-
Get chat credentials for Twitch - including your Twitch username, your bot's username, and an OAuth token password for your bot.
-
Copy
.env.sample
to.env
and fill out the variables with your chat credentials. -
Use your project URL as a browser source overlay in your streaming software at 1920x1080.
-
Type
!boom 100 100
in your chat - if your bot is there, it should answer and you should see fireworks!
-
Add sound to the fireworks
-
Rate limit per user - only one boom per minute?
-
Make the fireworks more dramatic
-
Add eslint checking
-
Secondary page with test controls - send websocket commands as an alternative to real Twitch events