- 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
- 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)
* 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>
* 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
* 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