mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[cm] ability to ban stickerset
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user