Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if re.search(phrase, submissionall, re.IGNORECASE):
- for k,v in phrases.items():
- if phrase in v:
- submission.add_comment(responses[k])
- # Store the current id into our list
- posts_replied_to.append(submission.id)
- print "Bot replying to : ", submission.title + ' ' + submission.id
- # this just exists the loop
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement