37 Commits

Author SHA1 Message Date
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
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
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
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
72e5115548 Forgive input errors for kasino games when rate limiting 2026-02-27 00:20:09 -06:00
alogindtractor
6d4d461aa7 Update SlotsCommand.cs (#91)
add delay for total loss message
2026-02-27 06:55:52 +01:00
alogindtractor
f701cae171 fix error, add delay to win message (#89)
* Update SlotsCommand.cs

adds delay for win message

* Update SlotsCommand.cs

add delay, fix rigslotboard error, was checking the wrong diagonal
2026-02-17 15:58:54 +01:00
barelyprofessional
eccbe44acd Merging changes from #66
Closes PR #66
2026-02-07 11:33:09 -06:00
alogindtractor
daba3012a4 fix for slot issue (#64)
* fix chat message ID handling and index out of bounds error

fix chat message ID handling and index out of bounds error

* fix feature incorrectly showing for some reason

idk why this started happening hopefully this fixes it, actual features might still be broken though

* actual fix for slot display issue

actual fix for slot display issue
after adding rigging i was passing in the rig parameter as the current type of feature
2026-02-07 06:34:30 +01:00
alogindtractor
d726b4f638 fix chat message ID handling and index out of bounds error (#63)
* fix chat message ID handling and index out of bounds error

fix chat message ID handling and index out of bounds error

* fix feature incorrectly showing for some reason

idk why this started happening hopefully this fixes it, actual features might still be broken though
2026-02-06 09:59:54 -06:00
barelyprofessional
80d4f81610 Fixed compiler warnings 2026-02-05 20:42:40 -06:00
alogindtractor
4dba9b4133 Implement minimum wager requirement for slots (#61)
* Implement minimum wager requirement for slots

Added minimum wager validation for slots command.

* Implement house edge and rigged outcomes in SlotsCommand

adds house edge to slots
if your house edge is greater than 1, HOUSE_EDGE - 100% chance for guaranteed max win chance (spawns all the symbols in the right place, does not guarantee top tier multi)

if house edge is less than 1, 100% - HOUSE_EDGE chance for guaranteed loss
2026-02-06 02:23:52 +01:00
barelyprofessional
60be8d45d6 Added missing await 2026-01-14 19:46:40 -06:00
alogindtractor
17ce32a69c update to show net balance change per request (#48)
update to show net balance change per request
2026-01-14 09:36:01 -06:00
barelyprofessional
eb4bb8dc47 Add missing await 2026-01-13 23:04:53 -06:00
barelyprofessional
8f0ada8c78 Fix compiler error and tried to improve the formatting of wins/losses 2026-01-13 21:00:15 -06:00
alogindtractor
128726d5a9 adds pause between spins and delays win/lose message based on length of image (#45)
* adds delay based on frame count so it doesn't spoil outcome on long spins

adds delay based on frame count so it doesn't spoil outcome on long spins

* adds pause between each spin

adds pause between each spin

* Refactor delay calculation for slot animation

Replaced delaySec with delayHSec to calculate delay based on frame delays.
2026-01-14 03:56:48 +01:00
alogindtractor
cf45a14eff update slots multispin to actually work (#42)
update slots multispin to actually work
2026-01-12 05:39:56 +01:00
alogindtractor
61e47ad591 fix plinko spam, allow multiple slot spins within the same image (#40)
* spam reduction

spam reduction

* Update SlotsCommand to handle multiple spins

Update SlotsCommand to handle multiple spins
2026-01-10 01:53:52 +01:00
CrackmaticSoftware
7e3ba4e641 Kasino game access control (#25)
* Blackjack

* sync

* Kasino game enable/disable control
2026-01-07 16:09:56 -06:00
barelyprofessional
5c186f13b1 Reducing rate limits for slots 2025-12-31 20:37:46 -06:00
barelyprofessional
6e32ab90dc Disable bbcode wrapping for the drawn stuff 2025-12-27 22:53:05 -06:00
barelyprofessional
8342a1e63a Convert doubles to decimal and render amounts a little nicer 2025-12-27 22:50:56 -06:00
barelyprofessional
c9e3f91707 Revert to the old logic for showing wins/losses and calculating shit 2025-12-27 09:43:53 -06:00
barelyprofessional
56249cdbc0 Messed up asset path 2025-12-27 09:30:08 -06:00
barelyprofessional
1de4d3b475 Cleaned up compiler warnings 2025-12-27 09:28:43 -06:00
barelyprofessional
fdd60a86fb Slots 2.0. Now with less Raylib 2025-12-27 09:25:21 -06:00
barelyprofessional
518a26f9d1 Trying dispose pattern instead 2025-12-26 01:02:54 -06:00
barelyprofessional
943132ac62 Total memory leak death 2025-12-26 00:29:58 -06:00
barelyprofessional
d2f06d30ed With the power of Claude free, will this memory still leak? 2025-12-25 20:42:17 -06:00
barelyprofessional
a61d930c88 Removed Claude's dodgy try/finally and added win size to the message 2025-12-25 20:31:11 -06:00
CrackmaticSoftware
6a818aada6 exploratory garbage collection fix powered by a bunch of GPUs solving crossword puzzles (#14)
* actually commit the code mayube
2025-12-26 03:27:27 +01:00
barelyprofessional
69ac495824 !prayge this fixes the memory leaks 2025-12-25 19:40:12 -06:00
barelyprofessional
fe1ab566d1 Removed some pointless decimal conversion. Subtract wager from winnings. 2025-12-25 19:31:09 -06:00
barelyprofessional
0301a6c2d3 Missing bbcode close for win 2025-12-25 12:37:48 -06:00
barelyprofessional
4b58cc9eae 5 seconds? What the fuck A Log 2025-12-25 12:22:00 -06:00
barelyprofessional
7aefa17f47 Slots 2025-12-25 02:30:10 -06:00