mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-09 12:22:26 +00:00
add command aliases
This commit is contained in:
parent
5192bfcc41
commit
9ed7176da9
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user