Example #1
0
File: irc.py Project: rram/harold
def wanna(irc, sender, channel, *args):
    if args:
        clean = args[0].translate(string.maketrans("", ""), string.punctuation)
        if clean.lower() == "cracker":
            irc.me(channel, "squawks: yes!")
        else:
            irc.me(channel, "flies away in disgust")
Example #2
0
def who(irc, sender, channel, *args):
    irc.me(channel, "is a bot. see http://github.com/spladug/harold")