add command aliases

This commit is contained in:
13xforever 2019-08-13 02:04:47 +05:00
parent 5192bfcc41
commit 9ed7176da9
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ namespace CompatBot.Commands
}
}
[Command("reanalyze"), Aliases("analyze", "parse")]
[Command("analyze"), Aliases("reanalyze", "parse", "a")]
[Description("Make bot to look at the attached log again")]
public async Task Reanalyze(CommandContext ctx, [Description("Message ID from the same channel")]ulong messageId)
{
@ -60,7 +60,7 @@ namespace CompatBot.Commands
}
}
[Command("reanalyze")]
[Command("analyze")]
public async Task Reanalyze(CommandContext ctx, [Description("Full message link")] string messageLink)
{
try

View File

@ -17,7 +17,7 @@ namespace CompatBot.Commands
{
private static readonly SemaphoreSlim lockObj = new SemaphoreSlim(1, 1);
[Group("bot")]
[Group("bot"), Aliases("kot")]
[Description("Commands to manage the bot instance")]
public sealed partial class Bot: BaseCommandModuleCustom
{