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,10 +8,10 @@ using Kruzya.TelegramBot.Core.Data;
|
||||
using Telegram.Bot;
|
||||
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) {}
|
||||
|
||||
[Command("ban", CommandParseMode.Both)]
|
||||
@@ -40,5 +40,4 @@ namespace West.TelegramBot.ChatManagement.Handler
|
||||
CanAddWebPagePreviews = true
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,10 +10,10 @@ using Kruzya.TelegramBot.Core.Extensions;
|
||||
using Telegram.Bot;
|
||||
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) {}
|
||||
|
||||
[Command("warn", CommandParseMode.Both)]
|
||||
@@ -59,5 +59,4 @@ namespace West.TelegramBot.ChatManagement.Handler
|
||||
disableNotification: true,
|
||||
parseMode: ParseMode.Html);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user