Beispiel #1
0
def look(bot, event):
    coll = PlugPersistCollection()
    fns = coll.filenames(event.rest)
    for fn in fns:
        try: cbtype, todotime, channel, ctime, txt = fn.split(",", 4)
        except ValueError as ex: print ex
        bot._raw("%s - %s" % (time.ctime(float(ctime)), txt))