mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[cas] use file-scoped namespaces
This commit is contained in:
@@ -2,17 +2,16 @@
|
||||
using Kruzya.TelegramBot.Core;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Kruzya.TelegramBot.CombotAntiSpam
|
||||
{
|
||||
public class CombotAntiSpam : Module
|
||||
{
|
||||
public CombotAntiSpam(Core.Core core) : base(core)
|
||||
{
|
||||
}
|
||||
namespace Kruzya.TelegramBot.CombotAntiSpam;
|
||||
|
||||
public override void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<ICombotClient, CombotClient>();
|
||||
}
|
||||
public class CombotAntiSpam : Module
|
||||
{
|
||||
public CombotAntiSpam(Core.Core core) : base(core)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public override void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<ICombotClient, CombotClient>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user