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)