Commit Graph

33 Commits

Author SHA1 Message Date
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
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
cohlexyz
287e453b9e Add tagging to image carousel (#113) 2026-05-10 17:51:56 +02:00
barelyprofessional
df6db90822 Gate sloppa behind T&H 2026-03-19 21:59:16 -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
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
barelyprofessional
64b2ce4a8e Chink is now 2x for rate limiting 2026-03-04 21:15:46 -06:00
barelyprofessional
0f7e75ec91 No response for image rate limits 2026-02-28 15:46:23 -06:00
barelyprofessional
1337db31b3 Total chink death 2026-02-27 00:11:07 -06:00
barelyprofessional
57e1b9c3b9 WIP rehost stuff 2026-02-05 23:26:46 -06:00
barelyprofessional
9a416eab1c Missing return :lossmanjack: 2025-12-31 20:40:30 -06:00
barelyprofessional
70c4daf750 Upload text to Zipline (if enabled) for very large image lists 2025-12-31 20:37:03 -06:00
CrackmaticSoftware
6b86b3ae6c snitch on people adding/removing images to the bot (#13)
* image preview when adding to carrousel

* spelling is hard

* snitch more

* fuck yoursel
2025-12-22 11:02:01 -06:00
barelyprofessional
23568a85c6 Added auto delete after x amount of time to the send chat message method 2025-10-06 03:14:08 -05:00
barelyprofessional
d76f427621 Add rate limit to the image command 2025-09-12 20:23:05 -05:00
barelyprofessional
2547ea45fb Took off rate limiting for images. I'll add it back on when it's tested. 2025-09-10 00:38:18 -05:00
barelyprofessional
d7e6290d46 Do not store rate limits for the GetRandomImage command unless a real key is specified 2025-09-08 19:37:18 -05:00
barelyprofessional
ff1d83d9f7 Completely untested and totally experimental rate limit feature 2025-09-08 15:09:59 -05:00
barelyprofessional
b26807c298 Added support for self destructing !chink images as well as pigcubes 2025-09-03 15:34:48 -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
e2c70cc5c5 Update to the Settings interface.
- Methods are now suffixed async
- Extension methods moved to the actual class and class renamed from SettingValue to Setting
- "Helpers" renamed to "SettingsProvider"
- Removed the ghetto CSV list method. Only setting using it was Pusher Channels which was orphaned by the new Kick channel feature. The call to ToList in the Chips.gg integration was incorrect and just proves lists should be consistently based around JSON objects instead of randomly string splitting
2025-05-06 14:07:52 -05:00
barelyprofessional
adf38b9c53 Configurable delays for the Pig Cube self destruct feature 2025-05-02 12:41:40 -05:00
barelyprofessional
326725d03f Added the ability to ignore the already exists check for adding images using a special keyword 2025-04-28 12:18:59 -05:00
barelyprofessional
d8f30846c2 Tightening up pig cube deletion times 2025-04-25 19:01:48 -05:00
barelyprofessional
641d935f73 Added special logic for the inverted cube 2025-04-24 13:15:05 -05:00
barelyprofessional
c48c912e19 Enhanced the pigcube 2025-04-24 02:08:22 -05:00
barelyprofessional
1ba7386b06 Added days 2025-04-21 22:32:47 -05:00
barelyprofessional
81d417ad21 so many digits :( 2025-04-21 22:30:27 -05:00
barelyprofessional
5db020d318 Using a timespan and humanized it somewhat 2025-04-21 22:28:29 -05:00
barelyprofessional
e4ad08e15c Added image last seen to the output 2025-04-21 22:09:43 -05:00
barelyprofessional
7e9137c35c Added a generic interface for retrieving images. Where multiple images exist, it'll retrieve the least seen. If there are sufficient images to work with, it'll randomly pick from a subset of the least seen to make it less predictable what's going to show up. 2025-02-15 23:31:26 +08:00