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:
parent
654e740457
commit
9c65493b9f
2 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
|
|
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue