Ejemplo n.º 1
0
def got_tell(actor=None, target=None, text=None, **kwargs):
    if not settings.IDENTICA_USER:
        commands._do_tell(target, actor, "I tell you nothing!")
        return
    try:
        tid = identica_post('%s: %s' % (actor, text))
    except Exception, e:
        commands._do_tell(target, actor, "I tell you nothing!")
        raise
Ejemplo n.º 2
0
def got_tell(actor=None, target=None, text=None, **kwargs):
    if not settings.IDENTICA_USER:
        commands._do_tell(target, actor, "I tell you nothing!")
        return
    try:
        tid = identica_post('%s: %s' % (actor, text))
    except Exception, e:
        log.error("Exception in bird:", exc_info=True)
        commands._do_tell(target, actor, "I tell you nothing!")
Ejemplo n.º 3
0
def got_tell(actor=None, target=None, text=None, **kwargs):
    if not settings.IDENTICA_USER:
        commands._do_tell(target, actor, "I tell you nothing!")
        return
    try:
        tid = identica_post('%s: %s' % (actor, text))
    except Exception, e:
        log.error("Exception in bird:", exc_info=True)
        commands._do_tell(target, actor, "I tell you nothing!")
Ejemplo n.º 4
0
def got_tell(actor=None, target=None, text=None, **kwargs):
    if not settings.IDENTICA_USER:
        commands._do_tell(target, actor, "I tell you nothing!")
        return
    try:
        tid = identica_post('%s: %s' % (actor, text))
    except Exception, e:
        commands._do_tell(target, actor, "I tell you nothing!")
        raise
def got_tell(actor=None, target=None, text='', **kwargs):
    order = text.split(' ')
    if len(order) > 0 and order[0] in ['beer', 'bitter', 'ale', 'lager']:
        actor.drunk += 3
        actor.save()
        actor.send(render_to_string('beer.txt', {}))
        commands._do_tell(
            target, actor, "There you go, %s" %
            random.choice(['pet', 'darlin', 'love', 'now get out.']))
    else:
        actor.send(
            "The barmaid scans the rest of the bar for anyone actually wanting a drink"
        )
def got_tell(actor=None, target=None, text='', **kwargs):
    if text == 'line' or text == 'line?':
        line = random.choice(lines)
        commands._do_tell(target, actor, '"%s"' % (line,))
    else:
        actor.send("%s arches his eyebrow expectantly" % (target,))
def got_tell(actor=None, target=None, text='', **kwargs):
    if text == 'line' or text == 'line?':
        line = random.choice(lines)
        commands._do_tell(target, actor, '"%s"' % (line, ))
    else:
        actor.send("%s arches his eyebrow expectantly" % (target, ))