107 Commits

Author SHA1 Message Date
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
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
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
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
0454a5bbdd Add Shuffle.us support for detecting hidden offline gambling 2026-03-13 20:22:05 -05: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
5058681022 Remove VIP level check to make it easier to test for now 2026-03-05 09:22:42 -06:00
barelyprofessional
5fce555007 Thanks to AgarthaCrack for the offline betting detection logic 2026-03-04 22:39:36 -06:00
barelyprofessional
7b1e33da78 Minor update to Discord presence so it'll give the generic presence info if there's no platform presence data 2026-03-04 21:18:43 -06:00
barelyprofessional
28881143be Ignore Bossman stream if a capture is already running due to Twitch GraphQL being trash 2026-03-01 14:32:42 -06:00
barelyprofessional
c8016b4fc6 Update for new chyat 2026-02-28 15:34:36 -06:00
barelyprofessional
8a827a17de Handle presence updates that don't contain a username 2026-02-27 00:35:03 -06:00
barelyprofessional
4962472312 Flaresolverr is dogshit. Going to try real and raw 2026-02-21 00:01:20 -06:00
barelyprofessional
0dcbb25fe3 Migrated moods and prompts to the settings.
Removed the weird concurrent dictionary and replaced with Redis.
Removed the cleanup watchdog in favor of Redis expiration
2026-02-17 22:02:09 -06:00
xXCryingLaughingXx
30d9f48d2e Nora (#87) 2026-02-18 03:24:30 +01:00
alogindtractor
21c8803eb9 fix board size, some fixes to auto cashout from cursor (#75)
* cursor fixes

cursor fixes

* Improve cashout condition validation

Refactor cashout condition to check for success and non-empty value.

* cursor

cursor

* Update BotServices.cs

* Update board size limit from 10 to 9

Update board size limit from 10 to 9
81 characters instead of 100
12 bytes per character per powershell, 
down from 1200 bytes to 972

* Implement message deletion for active games

Added logic to delete messages associated with active games.
2026-02-09 16:00:45 +01:00
barelyprofessional
1996b2b638 Refactored naming for Kasino Mines and decoupled it from BotServices as it has no long lived tasks or whatever 2026-02-05 20:19:34 -06:00
alogindtractor
2bb56c2388 Mines (#60)
* Add MinesCommand

Add MinesCommand
parses user input and submits it to mines service

* Add KasinoMines service to bot services

Add KasinoMines service to bot services

* kasinomines service code

kasinomines service code
holds all the game information so that games can be ongoing, you can leave your game and come back to it later,

* Update MinesCommand.cs

* Update KasinoMines.cs

* Update MinesCommand.cs

* add house edge to limbo

add house edge to limbo

* add house edge to keno

add house edge to keno

* Update BotServices.cs

forgot to add kasino mines item

* Update BuiltIn.cs

add kasinomines cleanup delay setting

* Update KenoCommand.cs

add difficulty options to keno, classic low medium high default high

* Update PlanesCommand.cs

adds house edge to planes
if your buffs cause house edge to be greater than 1, you have a HOUSE_EDGE - 1.0 % chance to get a guaranteed win,
if house edge is less than 1, 1-HOUSE EDGE chance for a guaranteed loss

* Update PlanesCommand.cs

missed a counter update

* Update PlinkoCommand.cs

plinko house edge update
changes vacuum strength based on house edge
2026-02-02 04:48:17 +01:00
barelyprofessional
65b7b19b8a Experimental convoluted rain refactor to use Redis instead of semaphores 2026-01-28 00:40: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
24db30b789 Add an option to disable Jackpot 2025-11-16 12:50:21 -06:00
barelyprofessional
819b278b0e Add setting to disable conversation summaries 2025-10-12 14:59: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
40a452b8b7 Added a feature to force gamba messages even while live 2025-09-24 01:20:54 -05:00
barelyprofessional
588a0e95fa Ignore conversation summaries which don't involve BMJ 2025-09-16 21:28:54 -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
9d0ee6e091 Missed nullable 2025-09-10 20:19:21 -05:00
barelyprofessional
13294b4d07 Added Shuffle.us 2025-09-10 20:18:17 -05:00
barelyprofessional
350e1cf6c6 Replace ❤️ with :feels: for Discord messages 2025-09-08 20:05:49 -05:00
barelyprofessional
2b07a07ac5 Added Owncast support 2025-08-24 03:02:34 -05:00
barelyprofessional
69386fce61 Updated the live check to remove the built-in properties and instead use the persisted setting 2025-08-21 01:54:12 -05:00
barelyprofessional
bd89fa74e6 Removed Twitch TOS strike and commercial shill as WS PubSub is dead 2025-08-21 01:32:58 -05:00
barelyprofessional
af4d6a5de6 Removed restream URL from Twitch for now 2025-08-21 01:29:44 -05:00
barelyprofessional
155c9c2d36 Forgot to start the timer for the Twitch live status check 2025-08-20 16:37:57 -05:00
barelyprofessional
00e09d7e7d Super experimental replacement for the dead Twitch WS PubSub service 2025-08-20 16:34:10 -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
de4e137a48 Added support for Kiwi PeerTube livestream notifications and capturing 2025-07-23 00:29:02 -05:00
barelyprofessional
8bcba1755a Fixed compiler warning related to a lack of await operators 2025-07-20 01:31:23 -05:00
barelyprofessional
be96be9f85 Fixed formatting error with the Discord stage flash text feature 2025-07-20 01:30:01 -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
172295e07b Flashing Discord T&H message to fuck with trolls 2025-07-14 23:22:37 -05:00
barelyprofessional
407bd41d71 Added a seal of authenticity to the Discord live messages 2025-07-11 14:46:36 -05:00
barelyprofessional
cc49ffeb4a Fixed incorrect reference to Yeet 2025-07-09 23:41:34 -05:00
barelyprofessional
6a7453a44f Forgot to build the Parti service 2025-07-09 23:39:24 -05:00