85 Commits

Author SHA1 Message Date
barelyprofessional
9e921d5ff9 Because apparently being retards in the chat is lol xD lmao so funny and my patch the other day made some people mad the war has now escalated 2026-04-09 20:32:44 -05:00
barelyprofessional
b86986f03e Don't ignore edits if it's within 15 seconds of being sent 2026-04-07 21:10:00 -05:00
barelyprofessional
f13717fbd0 Fix filter for whisper status update 2026-03-19 22:03:13 -05:00
barelyprofessional
01a4b26326 Added support for MOTD and whispers. Commands can opt into responding to whispers and there's a helper method to handle replying through the correct channel. 2026-03-18 23:50:32 -05:00
barelyprofessional
986027f5c5 Remove check for IsConnected from dead bot detection as this niggardly Websocket library FUCKED ME AGAIN 2026-03-13 08:42:58 -05:00
cohlexyz
11c09ea65c Allow !legitcheck to use usernames (#96)
* Keep track of users in chat

* Allow usernames for legitcheck
2026-03-05 05:40:16 +01:00
barelyprofessional
545c880dba Updated 1023-byte limits to 2048 2026-03-04 21:15:21 -06:00
barelyprofessional
ce0efead0b Only call people nigger faggots if they have an [img] alongside mBossmanJack 2026-03-01 14:40:02 -06:00
barelyprofessional
c8016b4fc6 Update for new chyat 2026-02-28 15:34:36 -06:00
barelyprofessional
6e2fd0bc35 Check for null on disconnection info Exception 2026-02-11 22:11:29 -06:00
barelyprofessional
cbf5b628c3 Missed one 2026-02-11 22:09:26 -06:00
barelyprofessional
384b2ab3ef Removed disconnect/connect and replaced with Reconnect as it's made things worse 2026-02-11 22:07:41 -06:00
barelyprofessional
34b3c5a671 Uber aggressive reconnection logic was glitching out like mad. Added a reconnect on dead bot detection and reduced inactivity timeout to 45 seconds in settings for the bot 2026-02-10 22:57:44 -06:00
barelyprofessional
6747389237 Still having issues with not reconnecting after 203 challenge so moved the reconnect logic back out of refresh token, save cookies no matter what and now force a reconnect on WsDisconnection event if it's not ByUser 2026-02-10 22:00:05 -06:00
barelyprofessional
26d1da3069 Fix missing update cookie + force reconnect when bot is already logged in 2026-02-10 08:39:25 -06:00
barelyprofessional
e96620381f Move the responsibility for updating cookies and reconnecting to RefreshXfToken so it's always handled properly 2026-02-08 20:50:13 -06:00
barelyprofessional
d0cabbf759 203 check for disconnect 2026-02-08 20:15:35 -06:00
barelyprofessional
e7c309582a Send all cookies to the websocket connection as the clearance token is now needed 2026-02-08 20:12:41 -06:00
barelyprofessional
65b7b19b8a Experimental convoluted rain refactor to use Redis instead of semaphores 2026-01-28 00:40:01 -06:00
barelyprofessional
29f2863c9a Refactored Xeet embedding 2026-01-13 22:53:06 -06:00
cohlexyz
b873195e79 Add basic twitter post embeds (#46)
only handles text posts for now
2026-01-14 04:04:56 +01:00
barelyprofessional
3ca9e1278b Log spam 2025-10-26 10:43:58 -05:00
barelyprofessional
d53d2f1def Remove persistently failing mesasges from the deletion scheduled task if they get forever lost for some reason.
Also moved the check for null until after it has checked the deadline so it only cares if it's due to be deleted.
2025-10-18 19:30:49 -05:00
barelyprofessional
38177a9051 Remove spammy cleanup message 2025-10-12 13:00:59 -05:00
barelyprofessional
02f94128d8 I'm a retard 2025-10-12 12:59:33 -05:00
barelyprofessional
92d2770f98 Forgot to initialize scheduled deletions 2025-10-12 12:55:21 -05:00
barelyprofessional
99f5421736 Changed auto deletions to a background task running in the bot itself to hopefully make them reliable 2025-10-12 12:54:23 -05:00
barelyprofessional
a8853aef1c Auto cleanup not working :( trying a different method 2025-10-12 02:44:39 -05:00
barelyprofessional
c05a9d9d15 Added a feature to schedule message deletion. Changed the kasino games to use them so planes doesn't get deleted mid-run.
Also increased Planes timeout to 120 seconds as some games run on very long.
2025-10-12 02:35:02 -05:00
barelyprofessional
fcd82f552b Added property for when a sent message was last edited 2025-10-09 00:48:24 -05:00
barelyprofessional
23568a85c6 Added auto delete after x amount of time to the send chat message method 2025-10-06 03:14:08 -05:00
barelyprofessional
146abbe885 THe battle of the retards continues. Total U+200B Death 2025-09-22 20:06:49 -05:00
barelyprofessional
8fca8829f6 Allow the bot's services to fully initialize even if the website is completely dead so that auto capture works 2025-09-21 13:01:19 -05:00
barelyprofessional
74be702473 Trap exceptions from process message 2025-09-12 13:44:48 -05:00
barelyprofessional
689b7b1cb8 Only respond if message wasn't edited 2025-09-05 11:11:07 -05:00
barelyprofessional
43b0b2bb25 More more more 2025-09-04 19:17:59 -05:00
barelyprofessional
45a8a1ba86 Account for l and I in impersonation detection 2025-09-04 18:45:20 -05:00
barelyprofessional
848214e90f Updated impersonation logic 2025-09-02 02:30:32 -05:00
barelyprofessional
6ca1cf055c Added the initial framework for the new Money system.
Includes
- 5 new tables: Gamblers, Transactions, Wagers, Exclusions, Perks
- Still heavily WIP and not ready to be enabled, no games present and a lot of missing functionality
- For now it's completely disabled until it's ready to be used.
2025-08-20 14:59:09 -05:00
barelyprofessional
92ed776e31 Added a settings toggle for the impersonation feature 2025-07-27 01:39:37 -05:00
barelyprofessional
35c3964854 Added a lot more error handling to the bot so issues retrieving tokens should no longer completely take the bot down. Also added a last ditch exit if the bot has completely died and isn't reconnecting at all 2025-07-24 12:45:37 -05:00
barelyprofessional
c086ed350a Anti faggotry 2025-07-15 00:10:40 -05:00
barelyprofessional
e2c70cc5c5 Update to the Settings interface.
- Methods are now suffixed async
- Extension methods moved to the actual class and class renamed from SettingValue to Setting
- "Helpers" renamed to "SettingsProvider"
- Removed the ghetto CSV list method. Only setting using it was Pusher Channels which was orphaned by the new Kick channel feature. The call to ToList in the Chips.gg integration was incorrect and just proves lists should be consistently based around JSON objects instead of randomly string splitting
2025-05-06 14:07:52 -05:00
barelyprofessional
dd0f6cee6c Added functionality to the database for a WhoWas feature that can say when a user was last in chat 2025-04-13 13:09:46 -05:00
barelyprofessional
291ca7954e Removed pointless additional use of db.SaveChanges(); 2025-03-31 21:16:15 +08:00
barelyprofessional
011cf658be Removed the yats code as that dude never steps foot in the Kasino (good) 2025-03-31 21:14:21 +08:00
barelyprofessional
4523fe8e15 Don't show edits to the console. Sick of Spambasesh 2025-03-22 14:12:05 +08:00
barelyprofessional
a7829470de Notify everyone if Kees H joins 2025-03-02 20:56:09 +08:00
barelyprofessional
0319c73998 Added an async method to delete messages and a command to delete last n messages based on sent message tracking 2025-02-17 00:23:04 +08:00
barelyprofessional
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. 2025-02-09 16:23:35 +08:00