gempir / gempbot

https://bot.gempir.com
MIT License
7 stars 3 forks source link

Prediction status overlay #2

Open Foretack opened 2 years ago

Foretack commented 2 years ago

Would be cool to get an overlay that displays when a prediction starts/ends.

It doesn't sound like a difficult thing to make seeing that you can build a website & the bot can already announce it in chat.

See picture for example:

firefox_03oo3CUqj9

It doesn't have to be fancy or anything, just something to notify the Chatterino users better. 👍

gempir commented 2 years ago

Chatterino users can look at gempbot messages as it will announce any ongoing predictions.

But I can see how this feature could be useful to users.

As for how to implement it in gempbot: I would build a page that has an IRC client in javascript and just reads chat messages from gempbot and if it finds any prediction messages it could display them or simply all gempbot messages then even the emote redemptions could be covered.

gempir commented 1 year ago

This is more reasonable to implement now. Scratch my previous comment.

The API could have a websocket endpoint and a frontend page could connect to that and get predictions to show.