{"id":18304364,"url":"https://github.com/iatenine/reddit-comment-thread-subscription-bot","last_synced_at":"2025-04-09T10:28:44.520Z","repository":{"id":143311969,"uuid":"186310427","full_name":"iatenine/reddit-comment-thread-subscription-bot","owner":"iatenine","description":"A bot designed to notify users who have chosen to subscribe to a Reddit submission of updates to comments and their replies for which they are not the author or the top-level post author","archived":false,"fork":false,"pushed_at":"2021-09-29T06:46:10.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T04:35:48.406Z","etag":null,"topics":["bot","praw-reddit","python3","reddit-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iatenine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-12T22:23:54.000Z","updated_at":"2021-09-29T06:47:17.000Z","dependencies_parsed_at":"2023-05-13T00:00:12.108Z","dependency_job_id":null,"html_url":"https://github.com/iatenine/reddit-comment-thread-subscription-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iatenine%2Freddit-comment-thread-subscription-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iatenine%2Freddit-comment-thread-subscription-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iatenine%2Freddit-comment-thread-subscription-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iatenine%2Freddit-comment-thread-subscription-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iatenine","download_url":"https://codeload.github.com/iatenine/reddit-comment-thread-subscription-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248019430,"owners_count":21034241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","praw-reddit","python3","reddit-api"],"created_at":"2024-11-05T15:28:37.740Z","updated_at":"2025-04-09T10:28:44.489Z","avatar_url":"https://github.com/iatenine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reddit Comment Thread Subscription Bot\n\nThis bot is designed to notify users who have chosen to subscribe to a Reddit submission of updates to comments and their replies\nfor which they are not the author or the top-level post author (and would thereby be aware or notified by Reddit anyways)\n\nPre-requisites\n--------------\n- [followNotifier.py](https://github.com/iatenine/PRAWFollowNotifier/blob/master/followNotifier.py)\n- Python 3\n- Crontab\n- Automoderator and modmail access to the targeted subreddit\n\n\nGetting Started\n---------------\nYou will first need the following code added to your Automoderator config:\n\n    type: comment\n    body: \"!follow\"\n    action: remove\n    moderators_exempt: false\n    modmail_subject: \"Follow Request\"\n    modmail: \"{{author}}\"\n    message_subject: Follow Confirmation\n    message:\n        This message is a confirmation that you have been subscribed to follow {{title}}. You will be updated with a message every 15 mins if a conversation has been updated (excluding your own)\n        \n Confirmation message and message_subject can be set as you see fit or even omitted\n \n Next, be sure to add a 'bot' field to the bottom of your praw.ini file that will pass the username, password, \n client ID and secret to Reddit:\n \n    [bot]\n    client_id=*******\n    client_secret=**********\n    password=********\n    username=*******\n    \n [How to get a client id or secret](https://github.com/reddit-archive/reddit/wiki/OAuth2)\n \n Now, Fill in all fields marked with ***** at the top of followNotifier.py with the relevant info to your situation\n By default the time frame is set to the past 15 mins (900 secs) but this can be manipulated by changing the value of TIME_LIMIT\n \n Now add the cron job by executing:\n \n     crontab -e\n And adding to the bottom:\n \n     */15 * * * * python3 /path/to/followNotifier.py\n \n *This runs every 15 mins by default but can (and should) be changed to whatever time frame is set under TIME_LIMIT\n **Due to both Reddit policies and potentially long execution times of the script is not recommended to fire the script more\n than once every 5 mins\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiatenine%2Freddit-comment-thread-subscription-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiatenine%2Freddit-comment-thread-subscription-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiatenine%2Freddit-comment-thread-subscription-bot/lists"}