Better not reply
parent
fbf9c5aa3f
commit
25e9ee5222
8
main.py
8
main.py
|
@ -22,14 +22,6 @@ for comment in rall.stream.comments():
|
||||||
needed = match.group(3) + ' who ' + match.group(1) + ' ' + match.group(5)
|
needed = match.group(3) + ' who ' + match.group(1) + ' ' + match.group(5)
|
||||||
print(match.group(),'\n',needed.title(),'\n')
|
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
|
# Post to our sub
|
||||||
try:
|
try:
|
||||||
post = sub.submit(needed.title(), url='https://www.reddit.com'+comment.permalink(), resubmit=False)
|
post = sub.submit(needed.title(), url='https://www.reddit.com'+comment.permalink(), resubmit=False)
|
||||||
|
|
Loading…
Reference in New Issue