Commit Graph

25 Commits

Author SHA1 Message Date
CrazyHackGUT 77d89f011b Revert "fix possible bans from Pavel Durov"
This reverts commit 1460cb0a75.
2024-05-28 22:30:28 +03:00
CrazyHackGUT 1460cb0a75 fix possible bans from Pavel Durov 2024-05-19 22:40:34 +03:00
Andriy 5e4183acfa [reputation] drop dbg_migrate command 2023-07-29 13:51:35 +03:00
Andriy 0677060429 Update to Telegram Bot Framework 2.0 2023-07-29 01:50:28 +03:00
Andriy 613ac5ae22 [reputation] KarmaMode now actually changes smth 2023-07-21 18:39:38 +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
Andriy eca77267d7 [core] add support of new bot api 2023-01-02 20:13:41 +02:00
Andriy ffffe2a48a [common] improve logging 2022-12-14 12:58:12 +02:00
Andriy 4f89be554a [entertainment] add roll command by @frolish
Co-authored-by: Frolish <lonkura.zip@gmail.com>
2022-12-14 11:40:27 +02:00
Frolish 9e198da41e add roll command 2022-12-14 11:09:43 +02:00
West14 0aea2fac42 [reputation] fix top fails when user left chat 2022-05-07 18:07:08 +03:00
West14 87b4732e99 [reputation] remove mentions in /top commands 2022-04-23 21:53:34 +03:00
West14 4accf36ffa [reputation] /addrep command 2022-04-23 21:43:29 +03:00
West14 fb1bfd20e5 [reputation] Fix antiflood condition. 2022-02-18 01:25:53 +02:00
West14 5307c201ab [reputation] Bypass antiflood for admins. 2022-02-18 01:21:05 +02:00
CrazyHackGUT 3cc7bad439 Inline code for message 2022-02-16 20:07:33 +03:00
CrazyHackGUT 49664064f6 Notification when user is flooding, fixes 2022-02-16 20:05:14 +03:00
CrazyHackGUT 520f1efe37 AntiFlood service 2022-02-16 19:44:53 +03:00
CrazyHackGUT a4d1dea47d Disable notifications for /top call 2022-02-16 07:37:03 +03:00
West14 46a0e375c5 [reputation] Fetch only positive reputation for rating. 2022-02-14 14:42:40 +02:00
West14 e885613c58 [reputation] Add rating. 2022-02-14 14:39:55 +02:00
West14 05778f7960 [reputation] Use file-scoped namespaces. 2022-02-14 10:21:35 +02:00
West14 d3ec6cfb4b [whois] Move whois to separate handler in ChatManagement. 2022-02-14 10:20:07 +02:00
West14 a4a44198c5 [reputation] Move reputation to separate module. 2022-02-14 00:18:53 +02:00