Beispiel #1
0
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")
Beispiel #2
0
def who(irc, sender, channel, *args):
    irc.me(channel, "is a bot. see http://github.com/spladug/harold")