From 4188a274018638db1994e460b8e0c323863aaa02 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 14 Jan 2017 18:49:40 -0500 Subject: [PATCH] Unparsed -> Remainder in example. --- docs/guides/samples/module.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/samples/module.cs b/docs/guides/samples/module.cs index 66d2907df..403acba06 100644 --- a/docs/guides/samples/module.cs +++ b/docs/guides/samples/module.cs @@ -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}"); } -} \ No newline at end of file +}