/// <summary> /// Initialize the plugin. If it returns false, then the plugin is disabled. /// </summary> /// <returns></returns> virtual public bool Init(ICocBot theBotServiceProvider) { MainBot = theBotServiceProvider; theBotServiceProvider.WriteToOutput("Hello from BasePlugin"); return(true); }
/// <summary> /// Initialize the plugin. If it returns false, then the plugin is disabled. /// </summary> /// <returns></returns> public override bool Init(ICocBot theBotServiceProvider) { base.Init(theBotServiceProvider); theBotServiceProvider.WriteToOutput("Hello from the plugin"); return(true); }