def present_controller(conn, presence):
- Handler for
add automatically users with jabber servers (gtalk).
+ Handler for automatically users jabber servers (gtalk).
def registrochat(message, email):
filename = chatbotini.LOGDIR + "/gtalk/" + email
logfile = open(filename, "a")
def cache_write_rpta(message, email):
cache = open(chatbotini.CACHEDIR + str(
def rpta_gtalk(conn, mess):
se messages to gtalk contacts.
+ Respon messages gtalk contacts.
logtime = chatbotini.now()
def record_questions_unanswered(message, answer, email, date, time):
+ Records Unanswered
answer = open("unanswered.txt", "r")
unanswered = answer.readlines()