Пример #1
0
def themoreyouknow(jenni, input):
    from modules.brittbot.helpers import (colors, colorize, colorize_msg)
    themoreyouknow1 = u"The More You Know"
    themoreyouknow2 = u"≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈"
    star = u"★"
    jenni.say(colorize(themoreyouknow1, fg=colors['blue']))
    jenni.say(colorize_msg(themoreyouknow2) + colorize(star, fg=colors['yellow']) )
Пример #2
0
def rainbowize(jenni, msg):
    reply = colorize_msg(msg.groups()[0])
    jenni.write(['PRIVMSG', msg.sender, ":{}".format(reply)])
Пример #3
0
def config_print(jenni, msg):
    if not msg.admin:
        return
    reply = colorize_msg("tested. rainbows and stuff.")
    jenni.write(['PRIVMSG', msg.sender, ":{}".format(reply)])
Пример #4
0
def rainbowize(jenni, msg):
    print msg.groups()
    reply = colorize_msg(msg.groups()[0])
    jenni.write(['PRIVMSG', msg.sender, ":%s" % reply])
Пример #5
0
def rainbowize(jenni, msg):
    reply = colorize_msg(msg.groups()[0])
    jenni.write(['PRIVMSG', msg.sender, u":{}".format(reply)])
Пример #6
0
def config_print(jenni, msg):
    if not msg.admin:
        return
    reply = colorize_msg("tested. rainbows and stuff.")
    jenni.write(['PRIVMSG', msg.sender, ":{}".format(reply)])
Пример #7
0
def rainbowize(jenni, msg):
    reply = colorize_msg(msg.groups()[0])
    jenni.write(['PRIVMSG', msg.sender, ":%s" % reply])
    rainbowize.rule = r"^!rainbows?(:?fg)? (.*)"