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
2a9d796e0d
Attempt to try and fix Chips.gg bet stream by moving to UUIDs. Didn't work though, still needs more work to fix
2024-09-14 16:42:31 +08:00
barelyprofessional
bc9acf430f
Track join failures and wipe cookies if the bot is stuck in a loop failing to join the room
2024-09-14 16:42:02 +08:00
barelyprofessional
6dad3357fd
Stop emojis from shitting up the message
2024-09-07 22:20:51 +08:00
barelyprofessional
2accae84cf
Added a feature to shill the ad-free re-stream when a Twitch commercial break is detected
2024-09-07 17:07:07 +08:00
barelyprofessional
081c42ec28
Added some more debug logging for when retrieving the session cookie
2024-09-07 17:04:23 +08:00
barelyprofessional
6f7470c0b3
Added an event for Twitch commercials
2024-09-07 17:02:13 +08:00
barelyprofessional
b879efe256
Workaround as KiwiFlare has been disabled
2024-09-07 00:19:46 +08:00
barelyprofessional
cc19b0bb7c
Cleaned up the duplicated login page request code
2024-09-02 20:29:54 +08:00
barelyprofessional
ace5646f36
Fixed missing Pusher channels setting causing the bot to fail to start and fixed code so a single failing task won't take down the whole bot
2024-09-02 00:39:39 +08:00
barelyprofessional
3b1f967a02
Service initialization is now async so the bot starts up faster
2024-09-02 00:26:33 +08:00
barelyprofessional
c3aa839e82
Defaulted GambaSesh Discord bypass to true since he's not setup with the new Discord guild
2024-09-01 21:10:38 +08:00
barelyprofessional
0ea864d1b6
Removed Puppeteer and logging in by POSTing the logon form now that we can get clearance tokens.
2024-09-01 20:33:23 +08:00
barelyprofessional
7509375b43
Added due credit to KiwiFlare.cs for the original Go implementation I adapted this from. Also added extra logging, refactored the challenge worker, and cleaned up the code a little.
2024-09-01 20:24:20 +08:00
barelyprofessional
2906481b27
Experimental KiwiFlare solver which appears to work based on my one test
2024-09-01 03:01:11 +08:00
barelyprofessional
e4b1821a5b
All the ancillary services have been moved out of the chatbot's class and relocated to a separate file. THe code is still very messy but at least it'll make the main bot easier to navigate.
...
Also refactored a bunch of shit
* Removed the thread used for pinging, now an async timer
* Kick will no longer block the bot from starting
* Twitch initialization follows the same rules as other services where everything is contained to its build method
* Fixed a bug where the bot's heartbeat logic would get messed up by the machine timezone if it wasn't UTC
2024-09-01 00:53:44 +08:00
barelyprofessional
6166b76f92
Updated commands to remove the hide from help property, instead set the help text to null for whenever that eventually gets implemented.
...
Also refactored the way tasks are handled so instead of adding to an array and checking in on them next time someone sends a message, it instead delegates it to a very basic async handler that'll await the command, report errors and kill the task if it takes too long.
2024-08-23 12:31:33 +08:00
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
840fe19430
Added support for channel creation / deletion and joining / leaving stages for Discord
2024-08-23 12:27:31 +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
f53e12552b
Update chipsgg to ignore koth (whatever that is)
2024-08-17 23:53:05 +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
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
946a7679ee
I'm an idiot, forgot to null the cookies
2024-08-10 01:55:58 +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
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