12 Commits

Author SHA1 Message Date
Andriy 8ab067a027 Use file-scoped namespaces 2023-07-29 15:14:52 +03:00
Andriy a24332370d Code cleanup 2023-07-29 15:03:45 +03:00
Andriy 27ddfd39cc [core] Massive setting system update
- Get rid of attribute crap. Now only interface is required
- Rename canUse to isAdmin in `Bot.IsUserAdminAsync` to match the actual meaning of variable
- Made `AnswerQuery` reusable by moving it from ContentStore to Core's CommonHandler
- Chat Settings edit frontend (inline keyboard)
- Rename NsfwOption to AllowNsfw and move it to ContentStore module
- Remove option backend testing commands
- Add KarmaMode option as an example of Select option type
2023-07-21 17:14:11 +03:00
Andriy 8de8eac959 initial chat options implementation 2023-07-20 20:24:16 +03:00
West14 e885613c58 [reputation] Add rating. 2022-02-14 14:39:55 +02:00
CrazyHackGUT 652c4e8466 DatabaseGenerated attribute for user option values 2022-01-23 01:49:58 +03:00
CrazyHackGUT 8f51f1ece0 Fix (?) issues related with concurrency 2022-01-22 21:54:11 +03:00
CrazyHackGUT ff63d6dfaa Code cleanup 2022-01-22 17:13:38 +03:00
CrazyHackGUT 5f93d60277 Fix user option values on .NET 5+ 2021-12-25 23:52:09 +04:00
CrazyHackGUT 73ed1d88a9 Use the new version of TelegramBotFramework 2021-12-22 01:27:56 +04:00
CrazyHackGUT 8681c7cf69 Scratch for running next callbacks in queue 2020-03-09 19:31:16 +04:00
CrazyHackGUT 3fd5042367 WiP storage for modules 2020-03-08 01:55:50 +04:00