Skip to content

Reddit comment bot #61

Open
Open
@iandennismiller

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 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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions