예제 #1
0
파일: irc.py 프로젝트: 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")
예제 #2
0
파일: irc.py 프로젝트: anirudh2290/harold
def who(irc, sender, channel, *args):
    irc.me(channel, "is a bot. see http://github.com/spladug/harold")