src/pai-bot/src/modules/bot-base-modules.js
async function loadModulesConfig()
{
    if(!modulesLoaded)
    {
		for (let i = 0; i < modules.length; i++) {
			await applyBotDataSource(modules[i]);
        }
        
        modulesLoaded = true;
    }
}
async function loadModulesConfig()
{
    if(!modulesLoaded)
    {
		for (let i = 0; i < modules.length; i++) {
			await applyBotDataSource(modules[i]);
        }
        
        modulesLoaded = true;
    }
}
async function loadModulesConfig ( ) { if ( ! modulesLoaded ) { for ( let i = 0 ; i < modules . length ; i ++ ) { await applyBotDataSource ( modules [ i ] ) ; } modulesLoaded = true ; } }
Load configuration for every module
@return {Promise<void>}
Load configuration for every module