[cm] greet new members & refactor rules

This commit is contained in:
West14
2022-04-21 17:42:44 +03:00
parent fc7b341f49
commit 15b19c97dd
4 changed files with 124 additions and 9 deletions
+7
View File
@@ -1,4 +1,6 @@
using Kruzya.TelegramBot.Core;
using Microsoft.Extensions.DependencyInjection;
using West.TelegramBot.ChatManagement.Service;
namespace West.TelegramBot.ChatManagement;
@@ -7,4 +9,9 @@ public class ChatManagement : Module
public ChatManagement(Core core) : base(core)
{
}
public override void ConfigureServices(IServiceCollection services)
{
services.AddScoped<RulesService>();
}
}