Alias "!quote save" with "!quote add"
This commit is contained in:
parent
c893e45004
commit
7942308059
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue