mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
spammer: add more triggers
This commit is contained in:
parent
14be174cb6
commit
b290f4a20f
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue