using BotFramework; using Kruzya.TelegramBot.Core; using Microsoft.Extensions.DependencyInjection; using West.TelegramBot.ChatManagement.ParamParser; using West.TelegramBot.ChatManagement.Service; namespace West.TelegramBot.ChatManagement; public class ChatManagement : Module { public ChatManagement(Core core) : base(core) { } public override void ConfigureServices(IServiceCollection services) { services.AddScoped(); services.AddScoped(); services.AddTelegramBotParameterParser(); WarnService.WarnEvent += Notifier.WarnNotify; WarnService.UnWarnEvent += Notifier.UnWarnNotify; } }