Files
telegram-bot/modules/CombotAntiSpam/CombotAntiSpam.cs
T

17 lines
447 B
C#
Raw Normal View History

2020-03-02 08:49:57 +04:00
using Kruzya.TelegramBot.CombotAntiSpam.Combot;
using Kruzya.TelegramBot.Core;
using Microsoft.Extensions.DependencyInjection;
2023-07-28 19:34:28 +03:00
namespace Kruzya.TelegramBot.CombotAntiSpam;
public class CombotAntiSpam : Module
2020-03-02 08:49:57 +04:00
{
2023-07-28 19:34:28 +03:00
public CombotAntiSpam(Core.Core core) : base(core)
2020-03-02 08:49:57 +04:00
{
2023-07-28 19:34:28 +03:00
}
2020-03-02 08:49:57 +04:00
2023-07-28 19:34:28 +03:00
public override void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<ICombotClient, CombotClient>();
2020-03-02 08:49:57 +04:00
}
2023-07-28 19:34:28 +03:00
}