Exemple #1
0
def karma_upper(jenni, input):
    nice_thanks = [
        ':D :D :D',
        'Thank you! %s :D' % input.nick,
        action('does a jolly dance'),
        action('giggles'),
        action('smiles real big'),
        action('high fives %s' % input.nick),
    ]
    jenni.say(random.choice(nice_thanks))
    if random.choice([False for _ in range(10)] + [True]):
        jenni.say("%s++" % (
            input.nick
        ))
Exemple #2
0
def karma_upper(jenni, input):
    nice_thanks = [
        ':D :D :D',
        'Thank you! %s :D' % input.nick,
        action('does a jolly dance'),
        action('giggles'),
        action('smiles real big'),
        action('high fives %s' % input.nick),
    ]
    jenni.say(random.choice(nice_thanks))
    if random.choice([False for _ in range(10)] + [True]):
        jenni.say("%s++" % (
            input.nick
        ))
Exemple #3
0
def sandwich(jenni, msg):
    if "sudo" in msg:
        jenni.say(action("makes %s a %s" % (
            msg.nick,
            msg.groups()[0],
        )))
    else:
        jenni.reply("Make your own %s" % msg.groups()[0])
Exemple #4
0
def kicks_me(jenni, input):
    reply = "%s" % random.choice(bad_actions)
    if all([x in input for x in ['pats', 'head']]):
        reply += " and %s" % random.choice([
            "giggles then smiles",
            "smiles really big",
            "grins a little bit",
            "grins real big",
            "gives %s a hug" % input.nick,
        ])
    jenni.say(action(reply))
Exemple #5
0
def kicks_me(jenni, input):
    reply = "%s" % random.choice(bad_actions)
    if all([x in input for x in ['pats', 'head']]):
        reply += " and %s" % random.choice([
            "giggles then smiles",
            "smiles really big",
            "grins a little bit",
            "grins real big",
            "gives %s a hug" % input.nick,
        ])
    jenni.say(action(reply))
Exemple #6
0
def what_do(jenni, msg):
    if msg.friend:
        actions = [
            "http://brittg.com/Y0fPr.gif",
            "http://brittg.com/PAHC5.gif",
            "http://brittg.com/Fqqdu.gif",
            "shakes his head to one side.",
        ]
    else:
        actions = good_actions
    jenni.say(action("%s" % random.choice(actions)))
Exemple #7
0
def sandwich(jenni, msg):
    if "sudo" in msg:
        make = TextBlob(msg.groups()[0]).words[0].pluralize()
        make = str(make)
        jenni.say(action("%s %s a %s" % (
            make,
            msg.nick,
            msg.groups()[1],
        )))
    else:
        jenni.reply("%s your own %s" % (
            msg.groups()[0][0].upper() + msg.groups()[0][1:].lower(),
            msg.groups()[1],
        ))
Exemple #8
0
def sandwich(jenni, msg):
    if "sudo" in msg:
        make = TextBlob(msg.groups()[0]).words[0].pluralize()
        make = str(make)
        jenni.say(action("%s %s a %s" % (
            make,
            msg.nick,
            msg.groups()[1],
        )))
    else:
        jenni.reply("%s your own %s" % (
            msg.groups()[0][0].upper() + msg.groups()[0][1:].lower(),
            msg.groups()[1],
        ))
Exemple #9
0
def kicks_admin(jenni, msg):
    admin = msg.groups()[0]
    if admin == msg.nick:
        return
    reply = random.choice([
        "growls at {}".format(msg.nick),
        "hisses at {}".format(msg.nick),
        "glares at {}".format(msg.nick),
        "fires a warning laser at {}'s feet".format(msg.nick),
        "throws water onto {}".format(msg.nick),
        "angrily beeps at {}".format(msg.nick),
        "attempts to protect {} from {}".format(admin, msg.nick),
        "attacks {}".format(msg.nick),
    ])
    jenni.say(action(reply))
Exemple #10
0
def what_do(jenni, input):
    jenni.say(action("is %s" % random.choice(good_actions)))
Exemple #11
0
def standup(jenni, input):
    jenni.say(action("stands up"))
Exemple #12
0
def party(jenni, input):
    jenni.say(action("dances :D\-<  :D|-<  :D/-<  :D\-<  :D|-< :D/-<"))
Exemple #13
0
def what_do(jenni, input):
    jenni.say(action("is %s" % random.choice(good_actions)))
Exemple #14
0
def standup(jenni, input):
    jenni.say(action("stands up"))