Moved Help to its own file, created administration module which now contains help. I will add more commands to it in the future.

This commit is contained in:
Master Kwoth
2015-12-06 12:57:29 +01:00
parent b393a5932f
commit 654099afa4
6 changed files with 71 additions and 55 deletions

View File

@ -0,0 +1,20 @@
using Discord.Modules;
namespace NadekoBot.Modules
{
class Administration : DiscordModule
{
public Administration() : base() {
commands.Add(new HelpCommand());
}
public override void Install(ModuleManager manager)
{
manager.CreateCommands("", cgb =>
{
commands.ForEach(com => com.Init(cgb));
});
}
}
}