735 Commits

Author SHA1 Message Date
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
e725ca5864 Moved to Lazy<T> and a static class for handling Redis connections with some methods to make it easier to work with JSON. Completely untested. 2026-04-26 20:30:56 -05:00
barelyprofessional
1778d0d573 Go back to direct OCIS linking due to increased length limits in chat so it should work now 2026-04-26 08:12:59 -05:00
alogindtractor
9acc1172cc fixed rigging, add a little more delay to the rig message so you can see it better (#110)
fixed rigging, add a little more delay to the rig message so you can see it better
2026-04-23 05:10:14 +02:00
alogindtractor
3ab46bb4c7 Refactor betting logic and game state handling (#109)
scales bets if user doesn't have enough balance unless they're below 1KKK
fix for the ability to krash after the game is over guaranteeing a win
2026-04-19 05:31:12 +02:00
barelyprofessional
b4cd21da41 Didn't work but I'm half convinced cookie containers never fucking work in .NET anyway so trying the shitty Rainbet hack since that at least was good enough to establish the WebSocket 2026-04-16 21:45:52 -05:00
IfYouComplainImDFEingAgain
3d269716e8 Add Whisper transcription for BossmanJack Discord voice messages (#107)
* Add Whisper transcription for BossmanJack Discord voice messages

Detect Discord voice message attachments (audio with IS_VOICE_MESSAGE flag)
from the monitored user and transcribe them via OpenAI Whisper API before
relaying to chat. Reuses the existing OpenAi.ApiKey setting. Feature is
disabled by default via Whisper.Enabled setting.

* Use separate API key setting for Whisper transcription

* Switch to local Whisper and post-then-edit transcription flow

Voice messages are now relayed immediately with a "transcribing..." placeholder,
then transcribed locally via the whisper CLI and the message is edited to append
the result. Removes OpenAI API dependency in favor of a local whisper binary.

Settings: Whisper.BinaryPath, Whisper.Model, Whisper.Enabled

---------

Co-authored-by: DFE <dfe@dfe.com>
Co-authored-by: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com>
2026-04-17 04:14:58 +02:00
barelyprofessional
1a49fe1976 prayge this is good enough to deal with the Cloudflare problems 2026-04-16 21:10:45 -05:00
barelyprofessional
2bce346967 Don't build Winna if disabled 2026-04-15 20:52:32 -05:00
barelyprofessional
39be005d38 Experimental Winna support 2026-04-15 20:44:56 -05:00
alogindtractor
1abe5974a7 Update ToolUrl for MinesCommand (#106)
more clean now
2026-04-12 02:18:44 +02:00
barelyprofessional
1461c1043a Maybe fix DST problems and also the infinite money glitch at the 23rd hour of the day 2026-04-10 00:06:06 -05:00
barelyprofessional
2c55e94bfd Fixed green/red colors and added support for multiple bets from the same participant 2026-04-09 21:28:24 -05:00
barelyprofessional
7a58976c16 Forfeit if balance drops too low for Krash 2026-04-09 21:15:53 -05:00
barelyprofessional
d4d499aebd Added enable/disable for Krash and cleanup delay as a configurable value 2026-04-09 20:48:49 -05:00
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
A Log in D Tractor
354b1cfd99 krash fix hopefuly (#105)
* Update KrashCommand.cs

add wager limit

* Update KasinoKrash.cs

* actual fix for payout

found the bug it was using the game multi instead of the bet multi

* Update KrashCommand.cs

remove wager limit

* actually fix the actual bug

fix the actual bug
2026-04-10 02:51:47 +02:00
barelyprofessional
64e318ce84 Seems to be paying out too much. Can't be bothered adding a setting as I've got other shit to do so killing it for now 2026-04-08 09:40:22 -05:00
alogindtractor
f415409a88 Set KrashAccepted to true when game starts (#104)
* Set KrashAccepted to true when game starts

* Update message formatting in Krash game logic

clean up display only 2 decimals shown now until the end

* Enhance betting message formatting in Krash game

* add rigging to krash

98% RTP without shop
with shop, it essentially averages out all the participants house edge modifier difference

* Update KasinoKrash.cs
2026-04-08 16:34:05 +02:00
barelyprofessional
95707f58ee Return after krashing 2026-04-07 23:50:06 -05:00
alogindtractor
7e131ff1a4 Fix bet handling and payout calculations in Krash game (#103)
fix where it would let you win if you didn't attempt to krash
also keeps message on screen a little longer after its over so you can see the final number better
2026-04-08 06:39:06 +02: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
5e85566577 Refactored krash 2026-04-06 21:13:19 -05:00
alogindtractor
26e0b1f49f message deletion and krash (#102)
* Update message deletion in BlackjackCommand

Refactor message deletion logic for non-whisper messages.

* Add message deletion for non-whisper coinflip

* Implement message deletion for non-whispers

Added a check to delete non-whisper messages if they have a MessageUuid.

* Delete non-whisper messages in KenoCommand

* Implement KrashBetCommand for betting functionality

* Lambchop message deletion

Lambchop message deletion

* limbo message deletion

limbo message deletion

* Delete message if not a whisper mines

Delete message if not a whisper mines

* planes message dleete

planes message dleete

* plinko message delete

plinko message delete

* Add message deletion for non-whisper messages roulette

Delete the message if it's not a whisper and has a UUID.

* add message deletion for non-whisper slots

add message deletion for non-whisper slots

* Implement message deletion for WheelCommand

Add message deletion for non-whisper messages.

* Add KasinoKrash service initialization

* Add KasinoKrash service for game management

Implement KasinoKrash service for managing the Krash game, including state management, betting, and payout logic.

* Update message formatting in KasinoMines.cs

add buttons

* Update MinesCommand.cs

allow more mines spam since message will be deleted anyways, spam will be supported via button
2026-04-07 03:30:49 +02:00
barelyprofessional
d97d4f7fad Use dittos for BJ commands 2026-03-19 22:14:32 -05:00
barelyprofessional
4b66658d47 Fix blackjack hand values turning into emojis 2026-03-19 22:06:59 -05:00
barelyprofessional
f13717fbd0 Fix filter for whisper status update 2026-03-19 22:03:13 -05:00
barelyprofessional
df6db90822 Gate sloppa behind T&H 2026-03-19 21:59:16 -05:00
barelyprofessional
6c29899454 Enable whisper for guess what num 2026-03-19 00:15:19 -05:00
barelyprofessional
b33311c37b Continue instead of return on match succes for whispers 2026-03-18 23:57:30 -05:00
barelyprofessional
6240f7c7f1 Ignore some null warnings and fix compiler errors related to the shop 2026-03-18 23:53:45 -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
4cdb04e3c5 Moved BlackjackDisplay.cs shit to BlackjackCommand.cs 2026-03-18 19:53:53 -05:00
CrackmaticSoftware
606e7867d0 Yesterdays bullshit served tomorrow (#100)
* Minimize amount of lines blackjack needs

* selfdestruct sloppa images

* massivly reduce amount of time slot graphic stays in chat
2026-03-19 01:52:40 +01: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
75addfb185 Very good saar claude cood to make pow accept 2026-03-13 20:24:30 -05:00
barelyprofessional
0454a5bbdd Add Shuffle.us support for detecting hidden offline gambling 2026-03-13 20:22:05 -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
barelyprofessional
b4796bbef6 Rain minimum 2026-03-11 20:35:35 -05:00
CrackmaticSoftware
c065bf513b rain control (#98) 2026-03-12 02:12:23 +01:00
barelyprofessional
9f9bdee61d Don't allow brand new gamblers to participate in a rain 2026-03-11 20:09:26 -05:00
barelyprofessional
945fac3c50 Add "green" support to Roulette 2026-03-08 00:16:24 -06:00
cohlexyz
67b0a26163 Add @ syntax to pocketwatch (#97) 2026-03-08 07:12:46 +01:00
barelyprofessional
829443283f Add the option to disable OpenAI moderation for Nora 2026-03-05 21:58:24 -06:00
barelyprofessional
8daaf3c304 Seems to be working now. Re-added the VIP level check 2026-03-05 09:41:25 -06:00
barelyprofessional
586a89a4cd More logging 2026-03-05 09:40:07 -06:00
barelyprofessional
fda98403ae Maybe? 2026-03-05 09:38:27 -06:00
barelyprofessional
b384845b54 Realized my GraphQL payload was fucked anyway but it probably will still freak out at me 2026-03-05 09:34:00 -06:00