Commit Graph

8 Commits

Author SHA1 Message Date
barelyprofessional
87225ead2f Reset GambaSesh presence detection on reconnect so it can resync with join list 2024-06-18 15:11:09 +08:00
barelyprofessional
ec6c050e23 Added Twitch PubSub support. Heavily ripped off code from GambaSesh though rewrote it to use Websocket.Client and will refactor the JSON parsing once I know exactly what the payload looks like. Presently untested. Also added a new config option to suppress messages, so one can run a local copy of the bot without disturbing anyone and made the Proxy a single config rather than having one for KF and one for Pusher. 2024-06-17 19:10:52 +08:00
barelyprofessional
f7278c6d3f Updated reconnection logic to always fire even if it's an initial "reconnection". This is to avoid the bot lingering outside the channel after fetching a fresh token as it was triggering a ByUser reconnect then an Initial reconnect and therefore not sending the join message. 2024-06-17 19:07:24 +08:00
barelyprofessional
cdad1d6549 Big update. Replaced Newtonsoft with System.Text.Json where possible, removed Spectre, tried to suppress the pile of compiler warnings I get on the GUI project, and tried to correct an issue where sometimes the session token retrieved is not usable. 2024-06-14 23:03:05 +08:00
barelyprofessional
37ab1138ef Updated session token retrieval system to use Puppeteer to automatically log in and retrieve a token 2024-06-13 20:07:41 +08:00
barelyprofessional
6102a88721 Gamba Sesh presence detection ruined commands. Guarded message sending by baking it into a method to make things simpler. 2024-06-09 14:46:50 +08:00
barelyprofessional
c0c8ba655f Added Gamba Sesh presence detection, cooldown on start to prevent responding to chat buffer, super basic commands, notifications, message forwarding from Kick, memory so that it doesn't answer messages already seen (too bad if you edit) 2024-03-26 13:40:44 +08:00
barelyprofessional
9f92fc8e27 Initial commit 2024-03-25 20:11:49 +08:00