From fb8f2cfc47ecaf86a170c1ad4162c77dbc819735 Mon Sep 17 00:00:00 2001 From: Sreenivas V Rao Date: Wed, 26 Dec 2018 21:19:50 +0530 Subject: [PATCH] Temporarily disable bot functions. --- bot.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index c8460f0..2358c92 100644 --- a/bot.py +++ b/bot.py @@ -15,7 +15,7 @@ r = praw.Reddit( password=PASSWORD, client_id=CLIENT_ID, client_secret=SECRET, - user_agent='linux:arXiv_abstract_bot:0.2 (by /u/arXiv_abstract_bot' + user_agent='linux:arXiv_abstract_bot:0.2 (by /u/arXiv_abstract_bot)' ) subreddit = r.subreddit('machinelearning') @@ -70,6 +70,7 @@ def comment(): if __name__ == "__main__": - while True: - comment() - time.sleep(30) + + # while True: + # comment() + # time.sleep(30)