Commit Graph

36 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
5e85566577 Refactored krash 2026-04-06 21:13:19 -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
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
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
barelyprofessional
19571d54e7 Daily dollar that resets midnight BMT 2026-01-04 23:59:14 -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
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
4bf9308fa7 Created initial models for kasino events 2025-11-16 02:03:02 -06:00
barelyprofessional
f3781f9c18 Implemented a very simple game to test the wager system 2025-10-05 00:47:14 -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
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
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
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
barelyprofessional
cadabb6895 Added a MILF counter to the bot 2025-05-18 13:43:51 -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
0826ae42ce BetId is now a GUID. Converted column from INTEGER to TEXT 2025-03-21 21:06:40 +08:00
barelyprofessional
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. 2025-02-15 23:31:26 +08:00
barelyprofessional
01847c5d3c Added a ValueType concept for Settings. Currently unused but planned to assist with editing settings from chat. 2025-02-08 23:41:55 +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
71b46d73d2 Added in memory caching 2024-08-17 23:45:29 +08:00
barelyprofessional
b390368713 Added Chips.gg integration. It basically works but needs more testing and also smashes the DB with how fast their feed updates. 2024-08-17 21:58:10 +08:00
barelyprofessional
82bf88afe7 Added Twitch view count logging 2024-08-15 16:45:02 +08:00
barelyprofessional
a67641a14d Added Rainbet bet history scraping. Uses FlareSolverr to grab Cloudflare cookies then retrieves from the bet feed. Not perfect but mostly works. 2024-08-06 00:07:08 +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