From 9cbf00d7582432d0565a336749ea730ae530eb28 Mon Sep 17 00:00:00 2001 From: AraHaan Date: Wed, 10 Aug 2016 04:44:22 -0500 Subject: [PATCH 1/4] Fixed Rolluo documentation in Source File. --- NadekoBot/Modules/Gambling/DiceRollCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NadekoBot/Modules/Gambling/DiceRollCommand.cs b/NadekoBot/Modules/Gambling/DiceRollCommand.cs index 55bb5ee1..326d85c4 100644 --- a/NadekoBot/Modules/Gambling/DiceRollCommand.cs +++ b/NadekoBot/Modules/Gambling/DiceRollCommand.cs @@ -27,7 +27,7 @@ namespace NadekoBot.Modules.Gambling cgb.CreateCommand(Module.Prefix + "rolluo") .Description("Rolls 0-100. If you supply a number [x] it rolls up to 30 normal dice (unordered)." + - $" If you split 2 numbers with letter d (xdy) it will roll x dice from 1 to y. | `{Prefix}roll` or `{Prefix}roll` 7 or `{Prefix}roll 3d5`") + $" If you split 2 numbers with letter d (xdy) it will roll x dice from 1 to y. | `{Prefix}rolluo` or `{Prefix}rolluo 7` or `{Prefix}rolluo 3d5`") .Parameter("num", ParameterType.Optional) .Do(RollFunc(false)); @@ -161,4 +161,4 @@ namespace NadekoBot.Modules.Gambling } }; } -} \ No newline at end of file +} From bda684eb5dcb49d51c110946d629e5b1f561c4f7 Mon Sep 17 00:00:00 2001 From: AraHaan Date: Wed, 10 Aug 2016 04:52:44 -0500 Subject: [PATCH 2/4] Fixed some things to deal with the command stuff that shows on the help command. This should help fix the placements of data in the code blocks. This is needed to simplify things and to make it more understandable. --- NadekoBot/Modules/Music/MusicModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NadekoBot/Modules/Music/MusicModule.cs b/NadekoBot/Modules/Music/MusicModule.cs index 9bf173b7..a4c40bd3 100644 --- a/NadekoBot/Modules/Music/MusicModule.cs +++ b/NadekoBot/Modules/Music/MusicModule.cs @@ -466,7 +466,7 @@ namespace NadekoBot.Modules.Music //var msRegex = new Regex(@"(?\d+)>(?\d+)", RegexOptions.Compiled); cgb.CreateCommand(Prefix + "movesong") .Alias(Prefix + "ms") - .Description($"Moves a song from one position to another. | `{Prefix} ms` 5>3") + .Description($"Moves a song from one position to another. | `{Prefix} ms 5>3`") .Parameter("fromto") .Do(async e => { @@ -502,7 +502,7 @@ namespace NadekoBot.Modules.Music cgb.CreateCommand(Prefix + "setmaxqueue") .Alias(Prefix + "smq") - .Description($"Sets a maximum queue size. Supply 0 or no argument to have no limit. | `{Prefix}smq` 50 or `{Prefix}smq`") + .Description($"Sets a maximum queue size. Supply 0 or no argument to have no limit. | `{Prefix}smq 50` or `{Prefix}smq`") .Parameter("size", ParameterType.Unparsed) .Do(async e => { From f9d049c3132bc71b9fa012863f7a3bd4705268ae Mon Sep 17 00:00:00 2001 From: AraHaan Date: Wed, 10 Aug 2016 05:03:07 -0500 Subject: [PATCH 3/4] Minor Fix to the Documentation in the Source of the ~osu b command --- NadekoBot/Modules/Searches/Commands/OsuCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Modules/Searches/Commands/OsuCommands.cs b/NadekoBot/Modules/Searches/Commands/OsuCommands.cs index 8ead137d..5907fc6c 100644 --- a/NadekoBot/Modules/Searches/Commands/OsuCommands.cs +++ b/NadekoBot/Modules/Searches/Commands/OsuCommands.cs @@ -56,7 +56,7 @@ namespace NadekoBot.Modules.Searches.Commands }); cgb.CreateCommand(Module.Prefix + "osu b") - .Description($"Shows information about an osu beatmap. |`{Prefix}osu b` https://osu.ppy.sh/s/127712") + .Description($"Shows information about an osu beatmap. |`{Prefix}osu b https://osu.ppy.sh/s/127712`") .Parameter("map", ParameterType.Unparsed) .Do(async e => { From ad1a793a4c939c691ae27867489ab7df1a453c5c Mon Sep 17 00:00:00 2001 From: AraHaan Date: Wed, 10 Aug 2016 05:10:37 -0500 Subject: [PATCH 4/4] Remove New line at end of file. ffs