now builds

This commit is contained in:
Master Kwoth 2016-05-04 20:22:11 +02:00
parent 26e034f29f
commit 4dc8ca82e2

View File

@ -570,7 +570,7 @@ namespace NadekoBot.Modules.Administration
.Alias(".clr") .Alias(".clr")
.Description("Prunes a number of messages from the current channel.\n**Usage**: .prune 5") .Description("Prunes a number of messages from the current channel.\n**Usage**: .prune 5")
.Parameter("user_or_num", ParameterType.Optional) .Parameter("user_or_num", ParameterType.Optional)
.Parameter("num", ParameterType.Required) .Parameter("num", ParameterType.Optional)
.Do(async e => .Do(async e =>
{ {
if (string.IsNullOrWhiteSpace("user_or_num")) // if nothing is set, clear nadeko's messages, no permissions required if (string.IsNullOrWhiteSpace("user_or_num")) // if nothing is set, clear nadeko's messages, no permissions required