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 committed 2015-12-06 12:57:29 +01:00
1 parent b393a5932f
commit 654099afa4
6 files changed
+71 -55

No files matched your search

+20
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));
});
}
}
}