Warning: session_start(): open(/var/lib/php/sessions/sess_7fhq8gcpc6u8pts6lsjsk3mpbm, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
svoid eleu_chatBots_copyQAs(S sourceBotID, S destBotID, long... qaIDs) {
virtual Concepts concepts = conceptsOfLoadedProgram_directRef(eleuBot(sourceBotID));
O dest = eleuBot(destBotID);
if (concepts == null) fail("Source bot not found: " + sourceBotID);
if (dest == null) fail("Dest bot not found: " + destBotID);
for (long id : qaIDs) {
virtual QA qa = call(concepts, 'getConcept, id);
if (qa == null) continue with print("QA not found: " + id);
if (shortClassNameNeq QA(qa)) continue with print("Not a QA: " + qa);
print("Copying QA: " + id);
call(dest, 'importQA, qa);
}
}