/// <summary> /// Loads the modules from the module directory. /// </summary> /// <returns>The <see cref="Core"/></returns> public async Task <Core> StartModules <T>() where T : IModuleBase { if (!Config.EnableModules) { return(this); } await ModuleLoader.LoadAsync <T>().ConfigureAwait(false); return(this); }