[cm] ability to ban stickerset

This commit is contained in:
West14
2022-05-05 19:29:25 +03:00
parent ff4cf0a0ef
commit 76ad165695
6 changed files with 262 additions and 4 deletions
+2
View File
@@ -16,7 +16,9 @@ public class ChatManagement : Module
{
services.AddScoped<RulesService>();
services.AddScoped<WarnService>();
services.AddTelegramBotParameterParser<BanLength.Param, BanLength.Parser>();
services.AddTelegramBotRawUpdateParser<StickerSet.Param, StickerSet.Parser>();
WarnService.WarnEvent += Notifier.WarnNotify;
WarnService.UnWarnEvent += Notifier.UnWarnNotify;