Add more command aliases

This commit is contained in:
Ske
2019-07-10 13:55:48 +02:00
parent 352940abbd
commit 31173af87d
6 changed files with 46 additions and 17 deletions

View File

@@ -27,6 +27,7 @@ namespace PluralKit.Bot.Commands
[Command("message")]
[Remarks("message <messageid>")]
[Alias("msg")]
public async Task GetMessage(ulong messageId)
{
var message = await Messages.Get(messageId);
@@ -37,6 +38,7 @@ namespace PluralKit.Bot.Commands
[Command("message")]
[Remarks("message <messageid>")]
[Alias("msg")]
public async Task GetMessage(IMessage msg) => await GetMessage(msg.Id);
}
}