Commit Graph

586 Commits

Author SHA1 Message Date
barelyprofessional
ca81702fc0 Now treat user not existing as being offline as Bossman got perma banned on Twitch 2024-08-23 12:28:31 +08:00
barelyprofessional
45ba16f419 Bumped packages 2024-08-23 12:27:40 +08:00
barelyprofessional
840fe19430 Added support for channel creation / deletion and joining / leaving stages for Discord 2024-08-23 12:27:31 +08:00
barelyprofessional
61f54c6958 Fixed currency conversion and formatting, added disclaimer 2024-08-18 01:54:55 +08:00
barelyprofessional
e31cf1245a Workaround for inconsistent authentication behavior 2024-08-18 01:34:28 +08:00
barelyprofessional
62375292e9 Off by 1 on the decimals 2024-08-18 01:03:44 +08:00
barelyprofessional
a84004156f Uncommented Chips message as it probably works now 2024-08-18 00:04:08 +08:00
barelyprofessional
21b14f134e Made cache misses an informational alert and updated message to be more helpful 2024-08-18 00:03:50 +08:00
barelyprofessional
f53e12552b Update chipsgg to ignore koth (whatever that is) 2024-08-17 23:53:05 +08:00
barelyprofessional
71b46d73d2 Added in memory caching 2024-08-17 23:45:29 +08:00
barelyprofessional
b390368713 Added Chips.gg integration. It basically works but needs more testing and also smashes the DB with how fast their feed updates. 2024-08-17 21:58:10 +08:00
barelyprofessional
d2f0519414 Updated the formatting to make the juice stats command more legible 2024-08-17 21:57:03 +08:00
barelyprofessional
19c10f20f5 Fixed number formatting in the rainbet stats command 2024-08-17 13:43:58 +08:00
barelyprofessional
e53150f790 Untested Juice statistics command 2024-08-17 13:43:32 +08:00
barelyprofessional
82bf88afe7 Added Twitch view count logging 2024-08-15 16:45:02 +08:00
barelyprofessional
18a50a757d Forgot to add a check for ignored user 2024-08-15 11:58:10 +08:00
barelyprofessional
59ec8f8850 Additional logging for debugging missed sent messages 2024-08-13 17:10:49 +08:00
barelyprofessional
06c64778ce Trim \r that was being passed through from Twitch chat 2024-08-13 17:10:24 +08:00
barelyprofessional
eef56d3f6b Decode entities in incoming message 2024-08-11 22:36:25 +08:00
barelyprofessional
9f07f6cf21 Forgot to bypass GambaSesh detection 2024-08-11 22:31:27 +08:00
barelyprofessional
c0d7f62c61 Added feature to track messages sent by the bot by reference so they can be edited 2024-08-11 21:11:37 +08:00
barelyprofessional
2c54ca30dd Missed converting this setting to use the extension method for booleans 2024-08-11 19:19:44 +08:00
barelyprofessional
f7bf0b1186 No longer log Kick chats as info to reduce spam 2024-08-10 16:57:17 +08:00
barelyprofessional
e87af68cdb Updated Pusher API URL as it has changed for Kick 2024-08-10 16:57:01 +08:00
barelyprofessional
f39438f71c Converted over to using the extension methods for handling the settings 2024-08-10 01:56:12 +08:00
barelyprofessional
946a7679ee I'm an idiot, forgot to null the cookies 2024-08-10 01:55:58 +08:00
barelyprofessional
6e0c100e11 Removed the commented out Rainbet check. The first iteration was Websocket based, but it's now based on an API call so this is no longer needed. 2024-08-10 00:29:19 +08:00
barelyprofessional
5982858f8e Added commands for getting Rainbet betting info 2024-08-10 00:28:33 +08:00
barelyprofessional
99489a3629 Now retrieving the last 5000 entries, mostly because I'd often get consecutive failures from FlareSolverr. Also caching the cookies now with some logic to retrieve fresh cookies when challenged. So far this has made the bet history scraping a lot more reliable. 2024-08-10 00:28:15 +08:00
barelyprofessional
5d1334d2b3 Extended the command interface so it passes in the user's DB entry. Just avoids having to look it up again if you're doing DB operations involving the user 2024-08-10 00:27:06 +08:00
barelyprofessional
a67641a14d Added Rainbet bet history scraping. Uses FlareSolverr to grab Cloudflare cookies then retrieves from the bet feed. Not perfect but mostly works. 2024-08-06 00:07:08 +08:00
barelyprofessional
508df3163b Forgot to build an instance of Jackpot. Tested it and it appears to work 2024-07-26 16:59:59 +08:00
barelyprofessional
f9d87220d2 Renamed the bot from KickBot -> ChatBot and removed the reference to Kick in the project name 2024-07-26 16:50:39 +08:00
barelyprofessional
f4db00246a Jackpot integration that probably works. Not tested 2024-07-26 15:51:56 +08:00
barelyprofessional
cf3ed650f6 Using the fancy green/red colors instead of just color=red/green as it is easier on the eyes 2024-07-26 15:44:47 +08:00
barelyprofessional
831bca4445 Updated PuppeteerSharp 2024-07-26 09:39:26 +08:00
barelyprofessional
2340041a30 Conditional access on the howlgg instance because there's a chance it'll be null if it is mid-reconnection 2024-07-26 11:29:28 +10:00
barelyprofessional
546b1d161a Replace SendInstant with Send as it's more thread safe or something 2024-07-26 11:28:52 +10:00
barelyprofessional
632638fcb1 Add some extra info when a user doesn't have access to command 2024-07-26 11:28:33 +10:00
barelyprofessional
8676241fbf The Final Solution to the Websocket question? I've gone through like 10 different iterations to try and get ByServer reconnections to work correctly. Now just disabled reconnection altogether and I'm manually disposing and recreating the instance whenever it dies using a watchdog task. So far working great after 12 hours! 2024-07-20 10:42:38 +10:00
barelyprofessional
2574d278a7 Added recent bets command and now casting the magic number to a float so the bot can show bets <$1 2024-07-20 10:40:50 +10:00
barelyprofessional
0d8116bf24 Removed end of line token for juiceme 2024-07-18 18:03:07 +10:00
barelyprofessional
272317f828 Added a basic Howl.gg stats command, implemented a setting for controlling the magic number to divide by and retroactively updating bet/profit amounts for unrealized gains on slot feaches 2024-07-18 18:02:44 +10:00
barelyprofessional
e4c4b3b41f Hopeful fix for invalid operation exception when reconnecting to Howl and Discord 2024-07-18 14:20:15 +10:00
barelyprofessional
6c8ee91ad6 Put in a hacked up feature to disable Kick Pusher as the API is having massive issues (again) 2024-07-18 12:46:12 +10:00
barelyprofessional
76b4a750a7 Usually prefer to have these as info so I can see whether the connection is still alive at a glance 2024-07-18 01:43:35 +10: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
936bf743a5 Added Twitch IRC over Websocket support 2024-07-01 00:24:07 +08: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
a865730918 Minor changes around logging and the stream stop message 2024-06-30 19:51:40 +08:00