Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 2.09 KB

README.md

File metadata and controls

36 lines (22 loc) · 2.09 KB

Pogly Standalone Twitch chat bot integration PoC

This is a VERY simple proof of concept on how you could integrate Pogly Standalone into your own chat bot.

The point of this project is to push you in the right direction if you're interested in doing something like this. This project will most likely not be maintained and is not guaranteed to function properly.

Pogly Standalone frontend is not currently designed with Twitch Chat bot integration in mind so... keep that in mind.

pogly_twitch_bot_poc.mp4

PoC contents

Usage

First fill .env variables

npm install
npm run start_bot

Development

Due to this being just a proof of concept, there aren't many reducers and table references in this project out of the box. Since interacting with the overlay via text is significantly different compared to the React frontend, you most likely have to write your own SpacetimeDB reducers for your specific use cases.

When developing, you need to first build with tsc then ts-add-js-extension --dir=dist to fix all the importing related issues. Everything you need to do is bundled up in npm run start_bot so use that instead.

For any questions / assistance for integrating Pogly into your Twitch Chat bot, feel free to join our Discord.