Commit Graph

12 Commits

Author SHA1 Message Date
CrazyHackGUT 6605f8f172 Trying migrate to .NET 8.0 2024-07-17 02:38:58 +03:00
Andriy 8ab067a027 Use file-scoped namespaces 2023-07-29 15:14:52 +03:00
Andriy 0677060429 Update to Telegram Bot Framework 2.0 2023-07-29 01:50:28 +03:00
Andriy 5471b412d9 [code-watcher] Add CodeWatcherMode option.
There are three option values:
- Disabled: module does nothing (wow).
- Remove: module removes matching messages and sends temporary message
          to instruct user what to do.
- Upload: module uploads detected code to configured Haste Server.
2023-07-28 16:53:01 +03:00
Andriy bbcdfff2b9 [core] move message auto-delete service from code-watcher to core 2023-01-23 13:12:38 +02:00
Andriy eca77267d7 [core] add support of new bot api 2023-01-02 20:13:41 +02:00
Andriy 19a14bb1ea [code-watcher] bust code in captions 2023-01-01 22:53:31 +02:00
Andriy a4f05bacab [code-watcher] handle message edit & message delayed delete service
Message delayed deleter service deals with issue when you need to delete some message with delay without blocking the execution. This is replacement for dumb Task.Delay call. Use of it could be used before as exploit, to stop responding for a long time.
2022-07-07 17:15:40 +03:00
Andriy e1ec7937fe [code-watcher] skip messages with lineCount < 2 2022-07-07 17:02:47 +03:00
Andriy afb942a33a [code-watcher] double the trigger criterias 2022-06-14 11:23:02 +03:00
West14 4f05a09846 [code-watcher] Cleanup. Remove notification in 1 minute after sending. 2022-04-20 13:14:01 +03:00
West14 b58fe8b6e9 [code-watcher] init module. 2022-04-20 00:38:47 +03:00