Commit Graph

854 Commits

Author SHA1 Message Date
alogindtractor 277207215a small plinko (#117)
* Update multi-tracker display format in PlanesCommand

* small plinko

small plinko

* Add Kasino Plinko Size setting
2026-05-14 14:05:23 +02:00
barelyprofessional b346a3b303 Experimental untagged and also search any carousel command 2026-05-14 07:04:50 -05:00
barelyprofessional b170065ca3 Add a trailing space to the ditto for image tagging 2026-05-13 21:22:26 -05:00
barelyprofessional 520413c3da Moved the tagnag to before the meta and removed the grid to table. It did work but was still spaced a little ugly. Having the spoiler last should fix spacing issues 2026-05-13 21:11:24 -05:00
barelyprofessional aa25b06ebe Use a table to try and deal with the ugly as hell spacing if the tagnag happens 2026-05-13 21:04:41 -05:00
barelyprofessional 9c5e364859 Added image metadata to returned images 2026-05-13 20:59:57 -05:00
alogindtractor 1d197ca495 slots update (#116)
found 120% rtp in test, idk if i fucked it up last time or this time but i nerfed feature and wild chance for now, planning a better update later

new rtp settings
RTP: 98.37% | Feach Chance: 0.14% | Hit Rate: 45.59% | Win Rate: 17.89% | Biggest Win: 38100.0x | Avg Win: 4.96x | Median Hit: 0.5x
from 32 mil tests
2026-05-12 14:05:51 +02:00
alogindtractor 00462f5a8b Update multi-tracker display format in PlanesCommand (#115) 2026-05-12 05:06:52 +02:00
alogindtractor d157d0a0a0 small planes (#114)
* small planes

small planes

* Add KasinoPlanesSize setting for Planes board

Add KasinoPlanesSize setting for Planes board
2026-05-12 05:01:03 +02:00
barelyprofessional 2ad5c46835 Vastly increase the roulette timeout so that the round doesn't prematurely end due to the cancellation token expiring 2026-05-11 21:43:40 -05:00
barelyprofessional f6581ad1d4 Drop Twitter media re-encode to 20 FPS as it's pretty slow and bump threads though it probably won't help much 2026-05-10 23:01:32 -05:00
barelyprofessional f81783019f It works! Make the size configurable so we can test various miniature kenos 2026-05-10 22:46:59 -05:00
barelyprofessional 9fd1124522 Possible fix for the grid breaking emojis. Trying again with Keno 2026-05-10 22:41:33 -05:00
barelyprofessional 1ee91e3f6c The grid rendering works but splitting up by chars doesn't work for multibyte so it breaks keno 2026-05-10 22:32:25 -05:00
barelyprofessional 1cb0ff21e4 Added missing cancellation token support to Keno and also experimenting with the table grid for it 2026-05-10 22:27:19 -05:00
barelyprofessional 32bef9f8e0 Add missing async support to ImageSharp for webp rendering in roulette as well as adding as much support for cancellation tokens as I can 2026-05-10 21:57:28 -05:00
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 e6e62388b9 Added functionality to wrap grids and multi-line text into tables so they can be resized nicely 2026-05-10 16:08:15 -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 07169f0837 Updated mines to hopefully fix a timing bug introduced by the 15 second delay. Extended the schedule auto delete functionality so that it can apply to any message, even ones not owned by the bot. 2026-05-10 11:23:38 -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 cf62274b4b Added option to disable DLive since it has shutdown 2026-05-01 21:13:26 -05: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 c79105bb44 Redis client never has a chance to initiate so added that to the start of the bot 2026-05-01 18:12:54 -05:00
barelyprofessional 000c87266e Fix infinite loop on scaled bet 2026-05-01 11:57:20 -05:00
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