Commit Graph

520 Commits

Author SHA1 Message Date
barelyprofessional 7aefa17f47 Slots 2025-12-25 02:30:10 -06:00
CrackmaticSoftware 6b86b3ae6c snitch on people adding/removing images to the bot (#13)
* image preview when adding to carrousel

* spelling is hard

* snitch more

* fuck yoursel
2025-12-22 11:02:01 -06:00
barelyprofessional 5212f7cd76 Forgot to add BuildYouTubePubSub to the tasks 2025-12-21 20:15:08 -06:00
barelyprofessional 8503636a29 * Removed OpenRouter from BotServices and converted it into a static class
* Moved hostess from MemeCommands.cs to KasinoUserCommands.cs
* Added missing KasinoCommand attribute. Also added WagerCommand so it'll do the exclusion check before running
2025-12-19 01:05:39 -06:00
barelyprofessional a88045c63d YouTube PubSub 2025-12-19 00:49:18 -06:00
cohlexyz 72a162b67a Add !hostess command (#12)
* Add basic !hostess command

* Add openrouter integration
2025-12-19 07:42:57 +01:00
barelyprofessional 71e534a396 Fix screwed up regex for selecting the number, display formatting issues with numbers and changed the game result to print on a single line 2025-12-10 20:15:38 -06:00
barelyprofessional d83b357ec3 Using a proper cancellation token for commands rather than the shared one, so timeouts should be handled more gracefully and also hopefully maybe actually consistently work. Also added error reporting 2025-12-10 20:06:15 -06:00
barelyprofessional 9ee114c466 Updated new games so they have individual cleanup delays. Also extended timeouts for Wheel as it's prone to timing out 2025-12-10 19:43:28 -06:00
barelyprofessional 1463d991c1 Added Limbo 2025-12-10 19:41:23 -06:00
CrackmaticSoftware 9583313316 faster wheelspin (#11)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds

* lambchop quickfix

* sync

* wheel game

* new newBalance calculation

* wheel quickfix

* experimental lambchop fix. Increased wheel animation time.

* Wheel fix maybe?

* wheelspin?

* faster wheelspin
2025-12-10 16:47:29 -06:00
CrackmaticSoftware 85a5eb4dfd wheel fix maybe (#10)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds

* lambchop quickfix

* sync

* wheel game

* new newBalance calculation

* wheel quickfix

* experimental lambchop fix. Increased wheel animation time.

* Wheel fix maybe?
2025-12-10 16:26:13 -06:00
CrackmaticSoftware 061cbaea9e lambchop fix maybe (#9)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds

* lambchop quickfix

* sync

* wheel game

* new newBalance calculation

* wheel quickfix

* experimental lambchop fix. Increased wheel animation time.
2025-12-10 14:37:33 -06:00
CrackmaticSoftware 956bfd9b54 wheel fix (#8)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds

* lambchop quickfix

* sync

* wheel game

* new newBalance calculation

* wheel quickfix
2025-12-10 10:33:19 -06:00
CrackmaticSoftware 711ce75a8b oval shaped wheel game (#7)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds

* lambchop quickfix

* sync

* wheel game

* new newBalance calculation
2025-12-10 10:16:58 -06:00
barelyprofessional 26d2305a6c Implemented theoretical YouTube PubSub integration using Redis PubSub and some random shit I found on the Internet 2025-12-10 00:55:27 -06:00
barelyprofessional ffb183f57b Added Redis 2025-12-10 00:14:40 -06:00
barelyprofessional 1392502712 Bumped packages 2025-12-10 00:06:25 -06:00
barelyprofessional db3f09c32f Added a check to see if field length matches the multee list size and throw an exception if it doesn't due to unreachable code warning 2025-12-09 23:45:01 -06:00
barelyprofessional 052918fd28 Fixed loss so it's now red for lambchop 2025-12-09 23:40:47 -06:00
barelyprofessional 4671bb3d25 Return new balance when it's modified and use that for display so it accounts for concurrent games 2025-12-09 23:40:15 -06:00
barelyprofessional 5af2015d46 Updated the message detection code so it'll give up straight away if the status is bad 2025-12-09 23:21:52 -06:00
barelyprofessional 91878d92b5 Fixed broken cleanup for lambchop and missing sesh bypass 2025-12-09 22:29:07 -06:00
CrackmaticSoftware 0c08c19e90 lambchop quickfix (#6)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds

* lambchop quickfix

* sync
2025-12-09 14:45:40 -06:00
CrackmaticSoftware f385ff35c6 lambchop game using existing random (#5)
* fix dice lose print

* dice can now display rigged results

* lambchop

* removed GetRandomNext

* updated lambchop randomness to use GetRandomNumber()

* Change lambchop game timeout to 12 seconds
2025-12-09 12:07:39 -06:00
CrackmaticSoftware 5f709464b2 dice fix (#3)
* fix dice lose print

* dice can now display rigged results
2025-12-08 00:16:48 +01:00
barelyprofessional 312f93494d Reduce rate limit window for dice 2025-12-07 13:50:32 -06:00
barelyprofessional cfdac05185 Fix Avenue's retarded formatting 2025-12-07 13:48:43 -06:00
barelyprofessional df5df27be0 Merge pull request #1 from CrackmaticSoftware/master
dice
2025-12-08 03:29:57 +08:00
CrackmaticSoftware e86a4d69be add ratelimitingoptions to dice game 2025-12-07 20:26:24 +01:00
CrackmaticSoftware a2ed1724e2 Merge remote-tracking branch 'origin/master' 2025-12-07 19:59:01 +01:00
CrackmaticSoftware bdeb2acdf8 added dice game. added random double generator. 2025-12-07 19:51:17 +01:00
barelyprofessional 348ae7b9cb net10 2025-12-05 19:55:59 -06:00
barelyprofessional 3c70fea2ba Added admin commands for everything but abandon and close. Changed selection time weighted payout to a property instead of having different types 2025-11-25 00:54:11 -06:00
barelyprofessional 24db30b789 Add an option to disable Jackpot 2025-11-16 12:50:21 -06:00
barelyprofessional 4bf9308fa7 Created initial models for kasino events 2025-11-16 02:03:02 -06:00
barelyprofessional e99434f5df Refactored and corrected compiler warnings on Keno and Planes 2025-11-16 00:45:41 -06:00
barelyprofessional e2ae5c20c2 Log the DLive exception 2025-11-15 16:50:33 -06:00
barelyprofessional 60e0c76b72 Added pocketwatch command 2025-11-15 16:48:36 -06:00
barelyprofessional ccf26d24a2 Added a stream capture locking feature due to DLive spuriously reporting a streamer as not live when they are and causing duplicate captures.
It works by having the capture script touch a file before it begins capturing, then remove the file when the capture is complete.

The bot will check if this file is present before checking if a DLive streamer is actually live which will reduce the amount of API hits and prevent it from going live twice.
2025-11-08 09:01:38 -06:00
barelyprofessional 3ca9e1278b Log spam 2025-10-26 10:43:58 -05:00
barelyprofessional ee40d14fa6 Added more logging and error checking for DLive as it's a piece of shit 2025-10-25 17:44:32 -05:00
barelyprofessional 7a625f218f Planes fair and honest 1.1 update 2025-10-23 17:41:38 -05:00
barelyprofessional 8904c4eb81 New planes riggery 2025-10-22 20:55:27 -05:00
barelyprofessional 02336ebd32 Special planes feature 2025-10-19 17:17:28 -05:00
barelyprofessional 36ad9a23b4 Log the nonce that should've passed Kiwi Flare challenge 2025-10-19 17:15:27 -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 2699dcf9ca Fix bad default for exit on death 2025-10-18 11:33:38 -05:00
barelyprofessional 3a8df5c76b Removed flags from field search 2025-10-18 11:33:17 -05:00
barelyprofessional e770136ca9 Did a massive overhaul of settings where it now uses an attribute and reflection to populate the DB. Gets rid of the enormous array and makes it a one-step process to create settings. 2025-10-18 03:45:23 -05:00