Open
Description
Requirements
Integration
- implement with Python 3
- uses virtualenv or other isolation method
- third-party libraries in requirements.txt
- single file application in
/promo/bots/reddit-comment-bot.py
; not split into python modules - runs in
$PWD
, does not require setuptools installation - configuration is external to source code;
config-public.ini
andconfig-private.ini
permit API secrets to be external to source code - launches with
make reddit-comment-bot
; seeMakefile
Monitoring
- monitor for posts with "Mueller Report" (case insensitive) in the title
- configure list of subreddits to monitor; what should this consist of?
- configure minimum post upvotes before a comment is submitted to a post; configurable on a per-subreddit basis
- decision: monitors rising posts? top posts? Seeking advice.
Commenting
- when post matches, compose comment using markdown loaded from configurable file located in
/promo/social/FILENAME.MD
(path is hardcoded, filename is configurable) - support auto-removal of comment when conditions are met; conditions include downvotes
Metadata
Assignees
Labels
No labels