[cm] Use file-scoped namespaces.

This commit is contained in:
West14
2022-02-14 10:35:28 +02:00
parent 05778f7960
commit f80b5d0da8
2 changed files with 69 additions and 71 deletions
+2 -3
View File
@@ -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
}); });
} }
} }
}
+2 -3
View File
@@ -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);
} }
} }
}