ratelimited done, closes #45

This commit is contained in:
Master Kwoth
2016-03-05 15:24:21 +01:00
parent ed0fc7fd9d
commit 707418fc46
3 changed files with 56 additions and 1 deletions

View File

@ -18,6 +18,7 @@ namespace NadekoBot.Modules {
commands.Add(new ServerGreetCommand());
commands.Add(new LogCommand());
commands.Add(new PlayingRotate());
commands.Add(new Commands.RatelimitCommand());
}
public override string Prefix { get; } = ".";
@ -195,7 +196,7 @@ namespace NadekoBot.Modules {
cgb.CreateCommand(".k").Alias(".kick")
.Parameter("user")
.Parameter("msg",ParameterType.Unparsed)
.Parameter("msg", ParameterType.Unparsed)
.Description("Kicks a mentioned user.")
.Do(async e => {
var msg = e.GetArg("msg");