From 9c65493b9f25b90ffc52b4d4f1ff291e30cefa67 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Thu, 6 Jul 2023 12:47:15 +0500 Subject: [PATCH] Change command method names to be more accurate Signed-off-by: Octol1ttle --- Commands/AboutCommandGroup.cs | 2 +- Commands/PingCommandGroup.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands/AboutCommandGroup.cs b/Commands/AboutCommandGroup.cs index 37a971a..30a8379 100644 --- a/Commands/AboutCommandGroup.cs +++ b/Commands/AboutCommandGroup.cs @@ -42,7 +42,7 @@ public class AboutCommandGroup : CommandGroup { /// [Command("about")] [Description("отображает список разработчиков")] - public async Task GetPingAsync() { + public async Task SendAboutBotAsync() { if (!_context.TryGetContextIDs(out var guildId, out _, out _)) return Result.FromError( new ArgumentNullError(nameof(_context), "Unable to retrieve necessary IDs from command context")); diff --git a/Commands/PingCommandGroup.cs b/Commands/PingCommandGroup.cs index 5d79e03..f5d071d 100644 --- a/Commands/PingCommandGroup.cs +++ b/Commands/PingCommandGroup.cs @@ -44,7 +44,7 @@ public class PingCommandGroup : CommandGroup { /// [Command("ping", "пинг")] [Description("получает задержку")] - public async Task GetPingAsync() { + public async Task SendPingAsync() { if (!_context.TryGetContextIDs(out var guildId, out var channelId, out _)) return Result.FromError( new ArgumentNullError(nameof(_context), "Unable to retrieve necessary IDs from command context"));