1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Change command method names to be more accurate

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-07-06 12:47:15 +05:00
parent 654e740457
commit 9c65493b9f
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ public class AboutCommandGroup : CommandGroup {
/// </returns>
[Command("about")]
[Description("отображает список разработчиков")]
public async Task<Result> GetPingAsync() {
public async Task<Result> SendAboutBotAsync() {
if (!_context.TryGetContextIDs(out var guildId, out _, out _))
return Result.FromError(
new ArgumentNullError(nameof(_context), "Unable to retrieve necessary IDs from command context"));

View file

@ -44,7 +44,7 @@ public class PingCommandGroup : CommandGroup {
/// </returns>
[Command("ping", "пинг")]
[Description("получает задержку")]
public async Task<Result> GetPingAsync() {
public async Task<Result> 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"));