From 25e9ee5222b7187c7903bb92ecbc327a1970b9a1 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Fri, 8 Sep 2017 16:00:53 +0000 Subject: [PATCH] Better not reply --- main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.py b/main.py index 2286507..45e9b4a 100755 --- a/main.py +++ b/main.py @@ -22,14 +22,6 @@ for comment in rall.stream.comments(): needed = match.group(3) + ' who ' + match.group(1) + ' ' + match.group(5) print(match.group(),'\n',needed.title(),'\n') - # Reply to the comment - #try: - # response = comment.reply( "I'll look for someone who", ' '.join(match.group(1,5)).lower() ) - #except: - # print("Failed to reply to comment"+comment.id); raise - #else: - # print("Replied to comment "+comment.id+":",response.permalink()) - # Post to our sub try: post = sub.submit(needed.title(), url='https://www.reddit.com'+comment.permalink(), resubmit=False)