Commit Graph

10 Commits

Author SHA1 Message Date
barelyprofessional
4ece07d64d Dispose of Shuffle properly before rebuilding it as otherwise you end up with random Shuffle ping tasks waking up and trying to ping a dead connection 2024-06-27 11:15:41 +08:00
barelyprofessional
4aef087f3b Added a Websocket disconnection event to Shuffle that rebuilds the Shuffle connection if it's forcibly disconnected. This seems to have resolved issues with the bot disconnecting from Shuffle and never reconnecting. 2024-06-23 13:26:30 +08:00
barelyprofessional
ff2a4c0e2e Added in support for grabbing Shuffle user profiles 2024-06-20 22:34:28 +08:00
barelyprofessional
57584918d0 Shuffle gamba watching 2024-06-19 23:32:56 +08:00
barelyprofessional
980a2b1c98 Renamed TwitchWs to Twitch as I intend to add a non-WS related helper function for checking if a stream is live using Graph QL 2024-06-19 10:46:17 +08:00
barelyprofessional
1c08231e7c Added examples of WebSocket payloads 2024-06-19 10:45:23 +08:00
barelyprofessional
d470e64979 I'm a retard. 2024-06-17 19:46:26 +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
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