Commit Graph

5 Commits

Author SHA1 Message Date
CrazyHackGUT af8efcbf4a make new option type for internal purposes 2024-05-29 00:16:58 +03:00
Andriy 0677060429 Update to Telegram Bot Framework 2.0 2023-07-29 01:50:28 +03:00
Andriy 8071863037 [core] Reduce chunk to fit option title into button 2023-07-28 17:22:28 +03:00
Andriy 79106ad47d [core] show choice short name in option button 2023-07-21 19:50:48 +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