Commit Graph

426 Commits

Author SHA1 Message Date
barelyprofessional
a4b740480f Use async for image rendering and time delays on slots so it's hopefully responsive to timeouts 2026-05-10 21:41:11 -05:00
barelyprofessional
ec960d4cfe Added length limit to tags 2026-05-10 17:58:28 -05:00
barelyprofessional
f821a96f70 Add a tag limit 2026-05-10 17:42:49 -05:00
barelyprofessional
7eb24e7517 Add missing where for image count 2026-05-10 17:16:41 -05:00
barelyprofessional
97e7e5bf17 Remove example text 2026-05-10 17:00:14 -05:00
barelyprofessional
02f9ac7551 Humanize is glitchy with telling it to use spaces 2026-05-10 16:53:51 -05:00
barelyprofessional
ca322bde4d Consider existing entries when informing the user what they tagged with 2026-05-10 16:42:19 -05:00
barelyprofessional
8d06b75a57 Append tags instead of overwriting when tagging something that already has tags 2026-05-10 16:40:30 -05:00
barelyprofessional
94e7017f29 Increase FPS for Xitter media embeds to 30 2026-05-10 16:30:21 -05:00
barelyprofessional
4438175d80 Added commands to tag and untag images. List will now give actual image IDs for the purposes of tagging and there's a nag for untagged images 2026-05-10 16:28:22 -05:00
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
barelyprofessional
7df7e7dadf Add wager to the win size for statistics 2026-05-10 14:55:49 -05:00
barelyprofessional
5e2dc25c77 Spoiler slots images 2026-05-10 11:01:09 -05:00
barelyprofessional
45cecb5e10 Apparently forgot how to format usernames right for my stupid bot 2026-05-10 10:57:42 -05:00
barelyprofessional
4d1f61bfdc Use spoiler titles for stats 2026-05-10 10:55:21 -05:00
cohlexyz
287e453b9e Add tagging to image carousel (#113) 2026-05-10 17:51:56 +02:00
barelyprofessional
f231845320 Split msg for length 2026-05-09 23:02:50 -05:00
barelyprofessional
0b2ae9d271 Add navigation properties 2026-05-09 22:56:26 -05:00
barelyprofessional
cd3e8f6147 Added big wins command 2026-05-09 22:51:27 -05:00
barelyprofessional
6b5e7d621b Delete !rain message for participants 2026-05-09 22:15:35 -05:00
cohlexyz
fc6b0e2918 Add missing new line (#112) 2026-05-05 02:09:59 +02:00
cohlexyz
79286662ce No newlines for media + spoiler (#111) 2026-05-04 02:29:44 +02:00
barelyprofessional
972e880aa9 Added missing balance format to Krash 2026-05-01 19:53:59 -05:00
barelyprofessional
f5f0ba6323 Added an option to get your exact balance to help deal with rounding issues 2026-05-01 19:53:43 -05:00
barelyprofessional
ab94098dd2 Remove dodgy reference to Redis connection string 2026-05-01 18:20:58 -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
1abe5974a7 Update ToolUrl for MinesCommand (#106)
more clean now
2026-04-12 02:18:44 +02:00
barelyprofessional
d4d499aebd Added enable/disable for Krash and cleanup delay as a configurable value 2026-04-09 20:48:49 -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
barelyprofessional
95707f58ee Return after krashing 2026-04-07 23:50:06 -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
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
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
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
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
cohlexyz
11c09ea65c Allow !legitcheck to use usernames (#96)
* Keep track of users in chat

* Allow usernames for legitcheck
2026-03-05 05:40:16 +01:00