mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
19 lines
460 B
C#
19 lines
460 B
C#
|
|
using Kruzya.TelegramBot.CombotAntiSpam.Combot;
|
||
|
|
using Kruzya.TelegramBot.Core;
|
||
|
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
|
|
||
|
|
namespace Kruzya.TelegramBot.CombotAntiSpam
|
||
|
|
{
|
||
|
|
public class Startup : Module
|
||
|
|
{
|
||
|
|
public Startup(Core.Core core) : base(core)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
public override void ConfigureServices(IServiceCollection services)
|
||
|
|
{
|
||
|
|
services.AddSingleton<ICombotClient, CombotClient>();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|