Commit Graph

10 Commits

Author SHA1 Message Date
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
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
e770136ca9 Did a massive overhaul of settings where it now uses an attribute and reflection to populate the DB. Gets rid of the enormous array and makes it a one-step process to create settings. 2025-10-18 03:45:23 -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
22ec1043ff Added license 2025-06-21 13:55:58 -05:00
barelyprofessional
3951671b01 Removed unused settings and the old image migration code as it's not needed anymore 2025-04-13 18:32:55 -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
barelyprofessional
88b8f20981 Converted to async main method 2024-09-22 13:28:49 +08:00
barelyprofessional
525008914b You didn't see anything 2024-09-22 13:25:07 +08:00
barelyprofessional
f9d87220d2 Renamed the bot from KickBot -> ChatBot and removed the reference to Kick in the project name 2024-07-26 16:50:39 +08:00