def bot_repeat_append(x):
    lines = [line.rstrip('\n') for line in open(bot_const.bot_base+'repetitions.artha')]
    q = random.choice(lines)
    if '#upper#' in q:
        x = q+" "+g_func.upper_first_char(x)
    elif '#lower#' in q:
        x = q+" "+g_func.lower_first_char(x)
    else:
        x = q+" "+x
    return x
def bot_output(x):
    if x is None:
        x = ""

    bot_log(0, 0, g_func.parse_artha_vars(g_func.upper_first_char(x)))
    return bot_const.line_break+u"\u220E   "+g_func.parse_artha_vars((bot_const.bot_name+ui_suffix+g_func.upper_first_char(x)))
def bot_greeting():
    lines = [line.rstrip('\n') for line in open(bot_const.bot_base+'greetings.artha')]
    return g_func.upper_first_char(random.choice(lines))