def bot_call(err):
    bot_log(0, -1, "[conversation log for "+bot_const.bot_name+" @ "+bot_const.bot_init+"]\n")
    for f in bot_const.must_files:
        if not open(bot_const.bot_base+f+".artha"):
            err = -1
    bot_output(bot_intellect.bot_greeting())
    return err
def bot_call():
    bot_log(0, -1, "\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n")
    for f in bot_const.must_files:
        if not open(bot_const.bot_base+f+".artha"):
            err = "ERROR: '"+f+"' missing in knowledge base."
            return err
        else:
            out = bot_output(bot_intellect.bot_greeting())
            return out