Example #1
0
 private void Setup(CommandsHandler handler, BotLog log)
 {
     this._Utils.Setup(handler, log);
     this._Social.Setup(handler, log);
     this._NSFW.Setup(handler, log);
     this._Search.Setup(handler, log);
     this._Image.Setup(handler, log);
     this._Fun.Setup(handler, log);
     this._Warframe.Setup(handler, log);
 }
Example #2
0
 public void UnloadCommands(CommandsHandler handler, BotLog log)
 {
     this._Utils.Unload();
     this._Social.Unload();
     this._NSFW.Unload();
     this._Search.Unload();
     this._Image.Unload();
     this._Fun.Unload();
     this._Warframe.Unload();
 }
Example #3
0
        public CommandSource(CommandsHandler handler, BotLog log)
        {
            this._Utils    = new UtilsCommands();
            this._Social   = new SocialCommands();
            this._NSFW     = new NSFWCommands();
            this._Search   = new SearchCommands();
            this._Image    = new ImageCommands();
            this._Fun      = new FunCommands();
            this._Warframe = new WarframeCommands();

            Setup(handler, log);
        }