Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit 7424f42

Browse files
committed
added .botslap
1 parent 490ad82 commit 7424f42

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

modules/botsnack.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,14 @@ def botsnack(phenny, input):
106106
botsnack.last_tick = time.time()
107107
botsnack.coolingdown = False
108108

109+
def botslap(phenny, input):
110+
"""tell me I'm being a bad bot"""
111+
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"]
112+
phenny.do(random.choice(messages))
113+
114+
botslap.commands = ['botslap', 'botsmack']
115+
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]*$'
116+
botsnack.priority = 'low'
117+
109118
if __name__ == '__main__':
110119
print(__doc__.strip())

0 commit comments

Comments
 (0)