Commit Graph

  • 7e9137c35c Added a generic interface for retrieving images. Where multiple images exist, it'll retrieve the least seen. If there are sufficient images to work with, it'll randomly pick from a subset of the least seen to make it less predictable what's going to show up. barelyprofessional 2025-02-15 23:31:26 +08:00
  • 5eb2ef62b9 Added support for custom part separators when using the fancy split message extension method barelyprofessional 2025-02-09 23:34:48 +08:00
  • 4085e0fd43 Added an attribute that you can use to control whether additional commands can execute after yours barelyprofessional 2025-02-09 23:34:05 +08:00
  • 42e6589e2a Original TruncateBytes extension method wasn't working right, seemed to include an extra character which would put us over the limit. Replaced it and new method seems to be working as expected albeit not as nice looking. barelyprofessional 2025-02-09 16:23:35 +08:00
  • f0fc79c142 Attempt to improve the way long strings are split up. There's a new extension method called FancySplitMessage to achieve this. Truncation options now work on bytes instead of string length too barelyprofessional 2025-02-09 15:59:39 +08:00
  • 4448a6a70a Added a feature where the bot will send an image if it detects christopherdj is live when Bossman goes live and vice versa. barelyprofessional 2025-02-08 23:44:08 +08:00
  • 01847c5d3c Added a ValueType concept for Settings. Currently unused but planned to assist with editing settings from chat. barelyprofessional 2025-02-08 23:41:55 +08:00
  • f1e01be74d Updated BassmanJack to conform to usual naming for commands barelyprofessional 2025-02-08 23:37:56 +08:00
  • 918bd47404 Added a command to retrieve the last stream time based on the Twitch view logging barelyprofessional 2025-02-08 23:37:43 +08:00
  • 94af9af173 Fix missing .Value barelyprofessional 2025-02-06 14:47:03 +08:00
  • 9da48cbdda No juicers if GambaSesh isn't present barelyprofessional 2025-02-06 14:46:56 +08:00
  • f9e59d5e7a Fixed some more hardcoded references to BMJ barelyprofessional 2025-02-06 12:24:15 +08:00
  • 25af8c7a7b Added Bassmanjack barelyprofessional 2025-02-06 12:24:06 +08:00
  • 52bcb012ac Clean up more deadnaming barelyprofessional 2025-02-06 10:41:53 +08:00
  • 09797f6a56 Added support for Discord display names so the bot stops deadnaming barelyprofessional 2025-02-06 10:17:56 +08:00
  • a292a98048 No more deadnaming barelyprofessional 2025-02-06 09:38:48 +08:00
  • f7bc5b5026 Updated TZ output to AGT barelyprofessional 2025-02-06 00:02:25 +08:00
  • 4a5151229c Replace hardcoded references to BossmanJack barelyprofessional 2025-02-05 23:37:35 +08:00
  • 7e6ba075c5 Bypass sesh detect for the Jackpot messages barelyprofessional 2025-02-05 08:27:02 +08:00
  • 9732aac6b4 Hopeful fix for out of order messages where multiple are sent and more accurate length limit barelyprofessional 2025-02-05 08:26:05 +08:00
  • 224148ba8d Bumped packages barelyprofessional 2025-02-04 21:01:15 +08:00
  • 44ebe44670 Fix kasino typo barelyprofessional 2025-02-04 20:51:34 +08:00
  • d053acd201 Removed NLog.config from copy to output directory as it was messing up publishing barelyprofessional 2025-02-04 20:50:58 +08:00
  • b7e829d30a Made it possible to disable Rainbet, Chips.gg and Howl.gg as they're not really working right now and just spamming errors barelyprofessional 2025-01-21 20:17:46 +08:00
  • 75f788f0f6 Fix hearing remove command, - instead of + barelyprofessional 2025-01-21 19:55:07 +08:00
  • 938601bf78 Updated court command to support multiple hearings barelyprofessional 2024-12-24 23:43:32 +13:00
  • 0ec8253bef Bumped dependencies barelyprofessional 2024-12-24 23:42:23 +13:00
  • 621e3eb39d Added self promo command, next visit commands for PO and court, added multiple ID support to Shuffle and bumped packages barelyprofessional 2024-11-05 19:54:38 -06:00
  • b4fc7da854 Added rehab command barelyprofessional 2024-10-05 11:35:45 +08:00
  • 7181bdefd0 Fixed Rainbet errors barelyprofessional 2024-09-29 12:54:36 +08:00
  • cff2691e42 Added some new commands barelyprofessional 2024-09-29 12:54:27 +08:00
  • 8786ceb248 Fixed bug where proxy would not get set if you didn't give a session token for the Sneedchat client barelyprofessional 2024-09-22 14:32:07 +08:00
  • 88b8f20981 Converted to async main method barelyprofessional 2024-09-22 13:28:49 +08:00
  • 525008914b You didn't see anything barelyprofessional 2024-09-22 13:25:07 +08:00
  • 12980a86c3 Updated Kick support so admins can now add/remove streamers and force a reconnect to commit the changes barelyprofessional 2024-09-21 00:28:16 +08:00
  • 1a0197a4c3 Added a notice for yats genchat logger barelyprofessional 2024-09-21 00:25:14 +08:00
  • f55bdd0120 Modified the seen msgs thing so it now respects edits by tracking last edit time if set barelyprofessional 2024-09-21 00:24:23 +08:00
  • 82c37c2ece Configurable join fail limit barelyprofessional 2024-09-17 20:23:51 +08:00
  • 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 barelyprofessional 2024-09-17 00:57:11 +08:00
  • 4753783c41 Added an extension method for splitting messages for sending long multi-line messages barelyprofessional 2024-09-17 00:55:06 +08:00
  • d20adeb6ef Changed initial start cooldown so it'll update the flag after the message flood finishes rather than on ping barelyprofessional 2024-09-15 23:44:58 +08:00
  • 7b37ec76e5 Added Lost status to edit test command barelyprofessional 2024-09-15 23:42:56 +08:00
  • 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. barelyprofessional 2024-09-15 23:00:26 +08:00
  • 37f161663b Added fuzzy string matching as a fallback to the whois command barelyprofessional 2024-09-15 13:48:14 +08:00
  • e2cd755a10 Added winmanjack barelyprofessional 2024-09-14 17:06:14 +08:00
  • f588e79309 Added an alias for cracked command barelyprofessional 2024-09-14 16:43:43 +08:00
  • 02228295b7 Multiplier is sometimes null so made it null with a fallback to 0 barelyprofessional 2024-09-14 16:42:44 +08:00
  • 2a9d796e0d Attempt to try and fix Chips.gg bet stream by moving to UUIDs. Didn't work though, still needs more work to fix barelyprofessional 2024-09-14 16:42:31 +08:00
  • bc9acf430f Track join failures and wipe cookies if the bot is stuck in a loop failing to join the room barelyprofessional 2024-09-14 16:42:02 +08:00
  • 825ba114cb Added a feature to make juicers way less generous for loser users barelyprofessional 2024-09-14 16:38:45 +08:00
  • 2b78093dbc Added command for posting Zalgo text for crackhead screaming moments barelyprofessional 2024-09-14 16:36:30 +08:00
  • 115e9081cc More logging as I'm still having weird auth loops barelyprofessional 2024-09-09 23:21:20 +08:00
  • a4aa0e0c84 Configurable ping interval and inactivity timeout. Won't ping anymore when the connection is dead barelyprofessional 2024-09-09 23:16:05 +08:00
  • 6dad3357fd Stop emojis from shitting up the message barelyprofessional 2024-09-07 22:20:51 +08:00
  • 88df0c093e Durr I'm an idiot barelyprofessional 2024-09-07 22:20:40 +08:00
  • 81e3f6b7ad Random.Next never returns the max value barelyprofessional 2024-09-07 19:04:15 +08:00
  • cec3b0a10b Moved cache clear command to admin commands barelyprofessional 2024-09-07 19:03:37 +08:00
  • 2accae84cf Added a feature to shill the ad-free re-stream when a Twitch commercial break is detected barelyprofessional 2024-09-07 17:07:07 +08:00
  • 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 :( barelyprofessional 2024-09-07 17:06:39 +08:00
  • 081c42ec28 Added some more debug logging for when retrieving the session cookie barelyprofessional 2024-09-07 17:04:23 +08:00
  • 6f7470c0b3 Added an event for Twitch commercials barelyprofessional 2024-09-07 17:02:13 +08:00
  • cdca1259bb Added a command to tweak the live stream status for relaying off-screen gambling barelyprofessional 2024-09-07 17:00:57 +08:00
  • b879efe256 Workaround as KiwiFlare has been disabled barelyprofessional 2024-09-07 00:19:46 +08:00
  • c4033d0135 Changed the verbiage to role as it sounds a bit better and gave guest role a descriptor "Rat" barelyprofessional 2024-09-05 22:02:05 +08:00
  • 2fb3d1f87b Added gmkasino commands barelyprofessional 2024-09-05 21:31:13 +08:00
  • a6a00459ce Added !gmkasino barelyprofessional 2024-09-04 01:01:10 +08:00
  • 4cb5c0327a I'm an idiot. Same oversight with updating the token when the user is logged in. barelyprofessional 2024-09-02 20:50:05 +08:00
  • 85bd4e3b2c Corrected omission where KfClient would not be populated with the newly retrieved token after refreshing it and get caught in a reconnect loop. barelyprofessional 2024-09-02 20:47:57 +08:00
  • cc19b0bb7c Cleaned up the duplicated login page request code barelyprofessional 2024-09-02 20:29:54 +08:00
  • 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 barelyprofessional 2024-09-02 00:39:39 +08:00
  • 3b1f967a02 Service initialization is now async so the bot starts up faster barelyprofessional 2024-09-02 00:26:33 +08:00
  • c3aa839e82 Defaulted GambaSesh Discord bypass to true since he's not setup with the new Discord guild barelyprofessional 2024-09-01 21:10:38 +08:00
  • 0ea864d1b6 Removed Puppeteer and logging in by POSTing the logon form now that we can get clearance tokens. barelyprofessional 2024-09-01 20:33:23 +08:00
  • 62304bccdb I'm an idiot, setting a value clears the cache for that setting so no need to make RestreamUrl never cache barelyprofessional 2024-09-01 20:26:04 +08:00
  • 67cd007252 Updated SetValueAsKeyValuePairs to SetValueAsJsonObject barelyprofessional 2024-09-01 20:24:59 +08:00
  • 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. barelyprofessional 2024-09-01 20:24:20 +08:00
  • 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. barelyprofessional 2024-09-01 20:22:28 +08:00
  • 2906481b27 Experimental KiwiFlare solver which appears to work based on my one test barelyprofessional 2024-09-01 03:01:11 +08:00
  • 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. barelyprofessional 2024-09-01 00:53:44 +08:00
  • 81a510120d New setting for Bossman's howl ID barelyprofessional 2024-09-01 00:48:06 +08:00
  • a133fb79eb Added a public field for getting the last packet received time and an async Disconnect method barelyprofessional 2024-09-01 00:47:53 +08:00
  • 26a327caa0 Added the ability to disable reconnection in the Kick library, fixed a null reference error if IsConnected() is called without ever being connected and incorporated the ping thread into the library rather than doing it separately barelyprofessional 2024-09-01 00:47:16 +08:00
  • 99b6afcec5 Added a command to query the restream barelyprofessional 2024-08-30 22:26:41 +08:00
  • dffbecf1ec Added an admin command to set a user's right barelyprofessional 2024-08-30 22:25:36 +08:00
  • eada3243b9 Make Discord channel and stage alerts more prominent barelyprofessional 2024-08-29 16:17:54 +08:00
  • 48ef59da3c Hopefully fix a bug where it gets trapped in a reconnection loop. The issue is the bot tries to reconnect too fast, this just resets the last event so it doesn't try again too soon. barelyprofessional 2024-08-24 13:32:42 +08:00
  • f81a2f5a42 Added the ability to selectively enable Discord integration for when GambaSesh wigs out and manually control the bet feed given there's no obvious signal when Bossman is live (I might tie in the stage notifications as an alternative tho) barelyprofessional 2024-08-23 12:32:51 +08:00
  • a717224ee4 aaand this one, I'm an idiot barelyprofessional 2024-08-23 12:32:01 +08:00
  • 1d21913afa Forgot to include these files in the previous commit barelyprofessional 2024-08-23 12:31:53 +08:00
  • 6166b76f92 Updated commands to remove the hide from help property, instead set the help text to null for whenever that eventually gets implemented. barelyprofessional 2024-08-23 12:31:33 +08:00
  • ca81702fc0 Now treat user not existing as being offline as Bossman got perma banned on Twitch barelyprofessional 2024-08-23 12:28:31 +08:00
  • 45ba16f419 Bumped packages barelyprofessional 2024-08-23 12:27:40 +08:00
  • 840fe19430 Added support for channel creation / deletion and joining / leaving stages for Discord barelyprofessional 2024-08-23 12:27:31 +08:00
  • 61f54c6958 Fixed currency conversion and formatting, added disclaimer barelyprofessional 2024-08-18 01:54:55 +08:00
  • e31cf1245a Workaround for inconsistent authentication behavior barelyprofessional 2024-08-18 01:34:28 +08:00
  • 62375292e9 Off by 1 on the decimals barelyprofessional 2024-08-18 01:03:44 +08:00
  • a84004156f Uncommented Chips message as it probably works now barelyprofessional 2024-08-18 00:04:08 +08:00
  • 21b14f134e Made cache misses an informational alert and updated message to be more helpful barelyprofessional 2024-08-18 00:03:50 +08:00
  • f53e12552b Update chipsgg to ignore koth (whatever that is) barelyprofessional 2024-08-17 23:53:05 +08:00
  • 71b46d73d2 Added in memory caching barelyprofessional 2024-08-17 23:45:29 +08:00