Commit Graph

9 Commits

Author SHA1 Message Date
barelyprofessional
5b3f394c29 Converted send message method to async (also created a synchronous method that shadows the async method). Added a method to send multiple messages at once and message truncation with a choice of strategies 2024-09-17 00:57:11 +08:00
barelyprofessional
a133fb79eb Added a public field for getting the last packet received time and an async Disconnect method 2024-09-01 00:47:53 +08:00
barelyprofessional
d61a171e54 Big update introducing ghetto command interface, settings, database and howl.gg bet feed scraping 2024-07-18 01:37:15 +10:00
barelyprofessional
83a5e149ef Replaced logging of the disconnection exception as it basically never had any value. Serializing provides a lot more useful information including the reason the server sent 2024-06-30 20:02:05 +08:00
barelyprofessional
2e4616c736 Added a feature to reconnect if the bot somehow gets stuck (either not joined to a channel or stuck in a disconnected state) 2024-06-27 11:30:41 +08:00
barelyprofessional
8d28733309 Corrected NullReferenceException due to WsReconnection event being called before the reference to the instance was created 2024-06-17 19:22:04 +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
9f92fc8e27 Initial commit 2024-03-25 20:11:49 +08:00