Skip to content

Commit

Permalink
added .botslap
Browse files Browse the repository at this point in the history
  • Loading branch information
mattr555 committed Nov 29, 2013
1 parent 490ad82 commit 7424f42
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/botsnack.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,14 @@ def botsnack(phenny, input):
botsnack.last_tick = time.time()
botsnack.coolingdown = False

def botslap(phenny, input):
"""tell me I'm being a bad bot"""
messages = ["hides in corner", "eats own hat", "apologises", "stares at feet", "points at zfe", "didn't do anything", "doesn't deserve this", "hates you guys", "did it on purpose", "is an inconsistent sketchy little bot", "scurries off"]
phenny.do(random.choice(messages))

botslap.commands = ['botslap', 'botsmack']
botslap.rule = r'(?i)(?:$nickname[,:]? )?(you suck|I hate you|you ruin everything|you spoil all [themyour]*fun|bad|wtf|lame|[youare\']*stupid|silly)(?:[,]? $nickname)?[ \t]*$'
botsnack.priority = 'low'

if __name__ == '__main__':
print(__doc__.strip())

0 comments on commit 7424f42

Please sign in to comment.