Merge pull request #560 from AraHaan/dev
Fixed some command descriptions.
This commit is contained in:
commit
57c6f522e5
@ -27,7 +27,7 @@ namespace NadekoBot.Modules.Gambling
|
|||||||
|
|
||||||
cgb.CreateCommand(Module.Prefix + "rolluo")
|
cgb.CreateCommand(Module.Prefix + "rolluo")
|
||||||
.Description("Rolls 0-100. If you supply a number [x] it rolls up to 30 normal dice (unordered)." +
|
.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)
|
.Parameter("num", ParameterType.Optional)
|
||||||
.Do(RollFunc(false));
|
.Do(RollFunc(false));
|
||||||
|
|
||||||
@ -161,4 +161,4 @@ namespace NadekoBot.Modules.Gambling
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -466,7 +466,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
//var msRegex = new Regex(@"(?<n1>\d+)>(?<n2>\d+)", RegexOptions.Compiled);
|
//var msRegex = new Regex(@"(?<n1>\d+)>(?<n2>\d+)", RegexOptions.Compiled);
|
||||||
cgb.CreateCommand(Prefix + "movesong")
|
cgb.CreateCommand(Prefix + "movesong")
|
||||||
.Alias(Prefix + "ms")
|
.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")
|
.Parameter("fromto")
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
{
|
{
|
||||||
@ -502,7 +502,7 @@ namespace NadekoBot.Modules.Music
|
|||||||
|
|
||||||
cgb.CreateCommand(Prefix + "setmaxqueue")
|
cgb.CreateCommand(Prefix + "setmaxqueue")
|
||||||
.Alias(Prefix + "smq")
|
.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)
|
.Parameter("size", ParameterType.Unparsed)
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,7 @@ namespace NadekoBot.Modules.Searches.Commands
|
|||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand(Module.Prefix + "osu b")
|
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)
|
.Parameter("map", ParameterType.Unparsed)
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user