Alias "!quote save" with "!quote add"

This commit is contained in:
runebaas 2020-08-13 18:22:09 +02:00
parent c893e45004
commit 7942308059
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -58,9 +58,10 @@ namespace Geekbot.Bot.Commands.Utils.Quote
} }
} }
[Command("save")] [Command("add")]
[Summary("Save a quote from the last sent message by @user")] [Alias("save")]
public async Task SaveQuote([Summary("@someone")] IUser user) [Summary("Add a quote from the last sent message by @user")]
public async Task AddQuote([Summary("@someone")] IUser user)
{ {
try try
{ {
@ -94,9 +95,10 @@ namespace Geekbot.Bot.Commands.Utils.Quote
} }
} }
[Command("save")] [Command("add")]
[Summary("Save a quote from a message id")] [Alias("save")]
public async Task SaveQuote([Summary("message-ID")] ulong messageId) [Summary("Add a quote from a message id")]
public async Task AddQuote([Summary("message-ID")] ulong messageId)
{ {
try try
{ {