very minor things, added disguise, code reorganizaiton
This commit is contained in:
@ -17,8 +17,9 @@ namespace NadekoBot.Modules {
|
||||
public Administration() {
|
||||
commands.Add(new ServerGreetCommand());
|
||||
commands.Add(new LogCommand());
|
||||
commands.Add(new MessageRepeater());
|
||||
commands.Add(new PlayingRotate());
|
||||
commands.Add(new Commands.RatelimitCommand());
|
||||
commands.Add(new RatelimitCommand());
|
||||
}
|
||||
|
||||
public override string Prefix { get; } = ".";
|
||||
@ -392,6 +393,13 @@ namespace NadekoBot.Modules {
|
||||
.Do(async e => {
|
||||
await e.Channel.SendMessage(await NadekoStats.Instance.GetStats());
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "dysyd")
|
||||
.Description("Shows some basic stats for Nadeko.")
|
||||
.Do(async e => {
|
||||
await e.Channel.SendMessage((await NadekoStats.Instance.GetStats()).Matrix().TrimTo(1990));
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "heap")
|
||||
.Description("Shows allocated memory - OWNER ONLY")
|
||||
.AddCheck(SimpleCheckers.OwnerOnly())
|
||||
|
@ -190,6 +190,18 @@ namespace NadekoBot.Modules {
|
||||
}
|
||||
});
|
||||
|
||||
cgb.CreateCommand("disguise")
|
||||
.Description("Tell Nadeko to disguise herself.")
|
||||
.Do(async e => {
|
||||
try {
|
||||
await
|
||||
e.Channel.SendMessage(
|
||||
$"{NadekoBot.Config.DisguiseResponses[rng.Next(0, NadekoBot.Config.DisguiseResponses.Length)]}");
|
||||
} catch {
|
||||
await e.Channel.SendMessage("Error while handling DisguiseResponses check your data/config.json");
|
||||
}
|
||||
});
|
||||
|
||||
cgb.CreateCommand("are you real")
|
||||
.Description("Useless.")
|
||||
.Do(async e => {
|
||||
|
Reference in New Issue
Block a user