Commit Graph

76 Commits

Author SHA1 Message Date
barelyprofessional d71819819d Updated the tagging code from cohle
- Uses a List<string> as the underlying type which EF Core will serialize as JSON. Since SQLite doesn't have any native JSON features, it gets stored as TEXT
- Got rid of the alternate pathway used for selecting an image so it always has a degree of randomness assuming enough images were returned
- Simplified some of the existing Regex and removed the non capturing groups as they're cancerous
- Added/removed images will be spoilered.
- Added a metadata property for images. This is a JSON object that EF Core will serialize/deserialize for you and presently contains the user ID of whoever added the image as well as when it was added. Can be easily extended with no migration needed. Will be null for existing images.
- Added a migration process for moving Tags to TagList for fishtank
2026-05-10 15:30:54 -05:00
cohlexyz 287e453b9e Add tagging to image carousel (#113) 2026-05-10 17:51:56 +02:00
barelyprofessional 7981f57a34 - Moved the Kasino shop models to their own file
- Added investments as a derivative of assets
- Added profile state flags which can retain basic states like IsSponsored
- Added profile state data using EF Core's JSON functionality so it should automatically serialize / deserialize the accompanying model for convenience (OnModelCreating code commented out due to the models not yet having a DbSet as I won't bake them in until KasinoShop is ready)
2026-04-26 20:39:49 -05:00
barelyprofessional 39be005d38 Experimental Winna support 2026-04-15 20:44:56 -05:00
barelyprofessional 5e85566577 Refactored krash 2026-04-06 21:13:19 -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 a6810591de Committed some of the DB work that's happening and disabled shop as it's going to take a while to refactor 2026-03-18 19:51:34 -05:00
alogindtractor 377603ca35 kasino shop updated all chat message id to uuid (#95)
* Update KasinoMines.cs

* Update SlotsCommand.cs

* Update MinesCommand.cs

* Update PlinkoCommand.cs

* Update PlinkoCommand.cs

* Update PlinkoCommand.cs

* Update PlanesCommand.cs

* Update LimboCommand.cs

* Update KenoCommand.cs

* Update KasinoUserCommands.cs

* Update KasinoRain.cs

* Create KasinoShop.cs

* Create ShopCommands.cs

* Update BotServices.cs

* Update MoneyDbModels.cs
2026-03-14 23:09:48 +01:00
CrackmaticSoftware af7b5e027b New stuff (#99)
* rain control

* blackjack double payout fix. minor display fixes
2026-03-14 21:59:34 +01:00
barelyprofessional 98369e3d92 Views can be null 2026-03-01 23:50:15 -06:00
barelyprofessional 82a69f48dd Null warnings 2026-02-28 15:35:59 -06:00
barelyprofessional c8016b4fc6 Update for new chyat 2026-02-28 15:34:36 -06:00
barelyprofessional 75e958cd2a Add XML doc summaries for the value types 2026-02-17 21:55:51 -06:00
CrackmaticSoftware ca2e2c7874 Live Roulette v1 (#59)
* Enabling/disabling gamba games with dynamic settting lookup.

* Its roulette baby
2026-01-29 12:20:57 -06:00
alogindtractor 9a7762a933 rain command (#58)
* attempt at rain command

attempt at rain command

* Add 'Rain' to MoneyDbModels enum

Added 'Rain' to the enum for additional game types.

* some cleanup

some cleanup
2026-01-28 04:38:30 +01:00
barelyprofessional 29f2863c9a Refactored Xeet embedding 2026-01-13 22:53:06 -06:00
alogindtractor 47771a0f4c plinko with wager (#26)
* Implement PlinkoCommand for Kasino game

plinko

* Add plinko board cleanup delay setting

Added a new setting for plinko board cleanup delay.

* Add 'Plinko' to game options in MoneyDbModels

Added 'Plinko' option to the game enum with a description.

* Modify Plinko win message to show new balance and do wager

Updated the message format to include the new balance after a win.

* Adjust wager calculation for Plinko game
2026-01-07 14:23:30 -06:00
CrackmaticSoftware be669bf951 fixes (#22)
* Blackjack

* sync

* make BJ deck suffeling not OOB anymore

* tag !juice recipients

* lambchop RTP adjustment
2026-01-06 14:10:46 -06:00
barelyprofessional 318241a58c Fix out of bounds error 2026-01-05 21:13:42 -06:00
CrackmaticSoftware 3992ff3119 Splitable blackjack (#21)
* Blackjack

* changed blackjack randomness to use player bound randomness.

* blackjack splitting. auto standing on 21. fixed duplicate bust message.

* vibecoded transactions fix

* update to match proper balance modification
2026-01-05 09:22:34 -06:00
barelyprofessional 19571d54e7 Daily dollar that resets midnight BMT 2026-01-04 23:59:14 -06:00
barelyprofessional b0473d68ab Did some refactoring with blackjack and probably have completely broken it 2026-01-02 21:25:36 -06:00
CrackmaticSoftware df869c6e82 Blackjack (#18)
* Blackjack

* idk
2026-01-02 17:12:46 -06:00
barelyprofessional 77dad18e92 Added a new state type for the 2025 end of year great reset 2025-12-31 20:50:05 -06:00
barelyprofessional fe1ab566d1 Removed some pointless decimal conversion. Subtract wager from winnings. 2025-12-25 19:31:09 -06:00
barelyprofessional a88045c63d YouTube PubSub 2025-12-19 00:49:18 -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 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 4bf9308fa7 Created initial models for kasino events 2025-11-16 02:03:02 -06:00
barelyprofessional fcd82f552b Added property for when a sent message was last edited 2025-10-09 00:48:24 -05:00
barelyprofessional f3781f9c18 Implemented a very simple game to test the wager system 2025-10-05 00:47:14 -05:00
barelyprofessional ff5484c0c9 Added lastactive command to get the last time BossmanJack did something observed by the bot 2025-10-04 14:10:25 -05:00
barelyprofessional 15de60e60b Added support for selectively overriding capture settings on a per-stream basis 2025-09-14 01:05:37 -05:00
barelyprofessional 2b243bea57 Turns out it was due to NoResponse being the first value in the enum so it was assigned value 0 2025-09-12 13:58:58 -05:00
barelyprofessional 2067267027 Inverted cooldown cleanup behavior 2025-09-12 13:50:23 -05:00
barelyprofessional ff1d83d9f7 Completely untested and totally experimental rate limit feature 2025-09-08 15:09:59 -05:00
barelyprofessional f2daa85c9c Added lossback and also found some issues with rakeback 2025-09-02 02:14:21 -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 3ea031963d Merge branch 'money' 2025-08-04 17:29:42 -05:00
barelyprofessional b01ba7c0a4 Fuck it. removing category as I don't even use it 2025-07-23 12:27:04 -05:00
barelyprofessional d4c49467e3 Changed to object since it didn't want to convert the number to a string 2025-07-23 12:25:43 -05:00
barelyprofessional de4e137a48 Added support for Kiwi PeerTube livestream notifications and capturing 2025-07-23 00:29:02 -05:00
barelyprofessional c134a6808d Migrated streams from bespoke settings to a database table, added DLive support and Streamlink capturing with remux support 2025-07-20 01:27:00 -05:00
barelyprofessional d22138a9f9 Added Parti stream integration 2025-07-09 23:31:49 -05:00
barelyprofessional 5f189cb9cc Refactored to fix compiler warnings 2025-07-07 20:12:07 -05:00
barelyprofessional bcc3bde6c9 Experimental automated capturing of selected Kick streams 2025-07-07 19:09:13 -05:00
barelyprofessional 88fef4466d Similar to before, reducing repetition by making .+ the default Regex for a setting 2025-07-07 15:56:09 -05:00
barelyprofessional 9b677ea23d Updated default cache duration for settings to the most common value of 1 hour, set a default for IsSecret and removed redundant properties. 2025-07-07 15:38:54 -05:00
barelyprofessional cf31cdd796 Money models 2025-06-21 13:42:02 -05:00
barelyprofessional be355e83df Some pocket watch stuff for the future 2025-06-07 16:04:13 -05:00