mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[cm] Use file-scoped namespaces.
This commit is contained in:
@@ -8,8 +8,8 @@ using Kruzya.TelegramBot.Core.Data;
|
|||||||
using Telegram.Bot;
|
using Telegram.Bot;
|
||||||
using Telegram.Bot.Types;
|
using Telegram.Bot.Types;
|
||||||
|
|
||||||
namespace West.TelegramBot.ChatManagement.Handler
|
namespace West.TelegramBot.ChatManagement.Handler;
|
||||||
{
|
|
||||||
public class Ban : CommonHandler
|
public class Ban : CommonHandler
|
||||||
{
|
{
|
||||||
public Ban(CoreContext db) : base(db) {}
|
public Ban(CoreContext db) : base(db) {}
|
||||||
@@ -41,4 +41,3 @@ namespace West.TelegramBot.ChatManagement.Handler
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -10,8 +10,8 @@ using Kruzya.TelegramBot.Core.Extensions;
|
|||||||
using Telegram.Bot;
|
using Telegram.Bot;
|
||||||
using Telegram.Bot.Types.Enums;
|
using Telegram.Bot.Types.Enums;
|
||||||
|
|
||||||
namespace West.TelegramBot.ChatManagement.Handler
|
namespace West.TelegramBot.ChatManagement.Handler;
|
||||||
{
|
|
||||||
public class Warn : CommonHandler
|
public class Warn : CommonHandler
|
||||||
{
|
{
|
||||||
public Warn(CoreContext db) : base(db) {}
|
public Warn(CoreContext db) : base(db) {}
|
||||||
@@ -60,4 +60,3 @@ namespace West.TelegramBot.ChatManagement.Handler
|
|||||||
parseMode: ParseMode.Html);
|
parseMode: ParseMode.Html);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user