Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- subreddit = reddit.subreddit('all')
- comments = subreddit.stream.comments()
- for items in reddit.inbox.stream():
- if message.author.name not in posts_repli_to:
- if 'block' in message.body:
- posts_repli_to.append(message.author.name)
- if comment.author.name not in posts_repli_to:
- if 'block' in comment.body:
- posts_repli_to.append(comment.author.name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement