spammer: add more triggers

This commit is contained in:
moneromooo 2016-08-05 19:33:52 +01:00
parent 14be174cb6
commit b290f4a20f

View file

@ -56,8 +56,12 @@ def OnMessage(event,*args,**kwargs):
line=line.lower().strip()
log_info("Testing: " + line)
for expr in ["astounding!", "triple your btc!", "pm me to begin!", "hatt uu"]:
if re.match(.*+expr+".*",line):
for expr in [
"astounding!", "triple your btc", "pm me to begin", "hatt uu",
"accelerate the blockchain", "u stappid", "me a message to begin",
"the ops have confirmed", "expanding technology", "exploding technology"
]:
if re.match(".*"+expr+".*",line):
link=kwargs['link']
Ban(link)
return