Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reddit comment bot #61

Open
13 tasks
iandennismiller opened this issue Jun 1, 2019 · 0 comments
Open
13 tasks

Reddit comment bot #61

iandennismiller opened this issue Jun 1, 2019 · 0 comments

Comments

@iandennismiller
Copy link
Owner

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 and config-private.ini permit API secrets to be external to source code
  • launches with make reddit-comment-bot; see Makefile

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant