Commit Graph

749 Commits

Author SHA1 Message Date
barelyprofessional
621e3eb39d Added self promo command, next visit commands for PO and court, added multiple ID support to Shuffle and bumped packages 2024-11-05 19:54:38 -06:00
barelyprofessional
b4fc7da854 Added rehab command 2024-10-05 11:35:45 +08:00
barelyprofessional
7181bdefd0 Fixed Rainbet errors 2024-09-29 12:54:36 +08:00
barelyprofessional
cff2691e42 Added some new commands 2024-09-29 12:54:27 +08:00
barelyprofessional
8786ceb248 Fixed bug where proxy would not get set if you didn't give a session token for the Sneedchat client 2024-09-22 14:32:07 +08:00
barelyprofessional
88b8f20981 Converted to async main method 2024-09-22 13:28:49 +08:00
barelyprofessional
525008914b You didn't see anything 2024-09-22 13:25:07 +08:00
barelyprofessional
12980a86c3 Updated Kick support so admins can now add/remove streamers and force a reconnect to commit the changes 2024-09-21 00:28:16 +08:00
barelyprofessional
1a0197a4c3 Added a notice for yats genchat logger 2024-09-21 00:25:14 +08:00
barelyprofessional
f55bdd0120 Modified the seen msgs thing so it now respects edits by tracking last edit time if set 2024-09-21 00:24:23 +08:00
barelyprofessional
82c37c2ece Configurable join fail limit 2024-09-17 20:23:51 +08:00
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
4753783c41 Added an extension method for splitting messages for sending long multi-line messages 2024-09-17 00:55:06 +08:00
barelyprofessional
d20adeb6ef Changed initial start cooldown so it'll update the flag after the message flood finishes rather than on ping 2024-09-15 23:44:58 +08:00
barelyprofessional
7b37ec76e5 Added Lost status to edit test command 2024-09-15 23:42:56 +08:00
barelyprofessional
04e73c8d5f Added a feature to replay buffered messages while chat is offline (up to a limit of the 10 latest by default) and changed the sent message tracking to pass-by-reference instead of exclusively using GUIDs. The GUIDs still exist for scenarios where you can't pass a reference to the object around. 2024-09-15 23:00:26 +08:00
barelyprofessional
37f161663b Added fuzzy string matching as a fallback to the whois command 2024-09-15 13:48:14 +08:00
barelyprofessional
e2cd755a10 Added winmanjack 2024-09-14 17:06:14 +08:00
barelyprofessional
f588e79309 Added an alias for cracked command 2024-09-14 16:43:43 +08:00
barelyprofessional
02228295b7 Multiplier is sometimes null so made it null with a fallback to 0 2024-09-14 16:42:44 +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
825ba114cb Added a feature to make juicers way less generous for loser users 2024-09-14 16:38:45 +08:00
barelyprofessional
2b78093dbc Added command for posting Zalgo text for crackhead screaming moments 2024-09-14 16:36:30 +08:00
barelyprofessional
115e9081cc More logging as I'm still having weird auth loops 2024-09-09 23:21:20 +08:00
barelyprofessional
a4aa0e0c84 Configurable ping interval and inactivity timeout. Won't ping anymore when the connection is dead 2024-09-09 23:16:05 +08:00
barelyprofessional
6dad3357fd Stop emojis from shitting up the message 2024-09-07 22:20:51 +08:00
barelyprofessional
88df0c093e Durr I'm an idiot 2024-09-07 22:20:40 +08:00
barelyprofessional
81e3f6b7ad Random.Next never returns the max value 2024-09-07 19:04:15 +08:00
barelyprofessional
cec3b0a10b Moved cache clear command to admin commands 2024-09-07 19:03:37 +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
450f26f763 Fixed an incredibly silly bug where the bot would attempt to update the session token when the client hadn't yet been initialized, which would cause it to catch a null and get caught in a loop. This error was silent when caused by a reconnect event :( 2024-09-07 17:06:39 +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
cdca1259bb Added a command to tweak the live stream status for relaying off-screen gambling 2024-09-07 17:00:57 +08:00
barelyprofessional
b879efe256 Workaround as KiwiFlare has been disabled 2024-09-07 00:19:46 +08:00
barelyprofessional
c4033d0135 Changed the verbiage to role as it sounds a bit better and gave guest role a descriptor "Rat" 2024-09-05 22:02:05 +08:00
barelyprofessional
2fb3d1f87b Added gmkasino commands 2024-09-05 21:31:13 +08:00
barelyprofessional
a6a00459ce Added !gmkasino 2024-09-04 01:01:10 +08:00
barelyprofessional
4cb5c0327a I'm an idiot. Same oversight with updating the token when the user is logged in. 2024-09-02 20:50:05 +08:00
barelyprofessional
85bd4e3b2c Corrected omission where KfClient would not be populated with the newly retrieved token after refreshing it and get caught in a reconnect loop. 2024-09-02 20:47:57 +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
62304bccdb I'm an idiot, setting a value clears the cache for that setting so no need to make RestreamUrl never cache 2024-09-01 20:26:04 +08:00
barelyprofessional
67cd007252 Updated SetValueAsKeyValuePairs to SetValueAsJsonObject 2024-09-01 20:24:59 +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
b3dc9a23e4 Removed the key-value pair methods for settings and replaced them helpers for JSON serialization and deserialization. This is because the key-value pair is pretty limited, easy to break and wasn't even being used anyway, JSON is far superior for storing a dictionary. 2024-09-01 20:22:28 +08:00