mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[cm] greet new members & refactor rules
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user