Commit Graph

83 Commits

Author SHA1 Message Date
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
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
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
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
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
cdca1259bb Added a command to tweak the live stream status for relaying off-screen gambling 2024-09-07 17:00:57 +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
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
99b6afcec5 Added a command to query the restream 2024-08-30 22:26:41 +08:00
barelyprofessional
dffbecf1ec Added an admin command to set a user's right 2024-08-30 22:25:36 +08:00
barelyprofessional
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) 2024-08-23 12:32:51 +08:00
barelyprofessional
a717224ee4 aaand this one, I'm an idiot 2024-08-23 12:32:01 +08:00
barelyprofessional
1d21913afa Forgot to include these files in the previous commit 2024-08-23 12:31:53 +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
71b46d73d2 Added in memory caching 2024-08-17 23:45:29 +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
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
5982858f8e Added commands for getting Rainbet betting info 2024-08-10 00:28:33 +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
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