public void OnLoaded(IBot mainClass) { this.mainClass = mainClass; //Call some test functions. mainClass.DoAction(); this.mainClass.DoAnotherAction("Test plugin doing actions!", GetVersion()); }