Unparsed -> Remainder in example.

This commit is contained in:
Alex
2017-01-14 18:49:40 -05:00
committed by GitHub
parent cf2596db58
commit 4188a27401

View File

@@ -7,7 +7,7 @@ public class Info : ModuleBase
{
// ~say hello -> hello
[Command("say"), Summary("Echos a message.")]
public async Task Say([Unparsed, Summary("The text to echo")] string echo)
public async Task Say([Remainder, Summary("The text to echo")] string echo)
{
// ReplyAsync is a method on ModuleBase
await ReplyAsync(echo);
@@ -39,4 +39,4 @@ public class Sample : ModuleBase
var userInfo = user ?? Context.Client.CurrentUser;
await ReplyAsync($"{userInfo.Username}#{userInfo.Discriminator}");
}
}
}