Commit Graph

4 Commits

Author SHA1 Message Date
Andriy c3a553f68d fix: build and lots of obsolete warnings 2025-02-09 17:41:13 +02:00
Andriy 8ab067a027 Use file-scoped namespaces 2023-07-29 15:14:52 +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 467ccd4fde [core] move core handlers into subfolder 2023-07-20 21:22:35 +03:00