This bot compiles [FRESH] posts submitted to /r/hiphopheads. If you want to subscribe, check out these links! - [Daily] [Weekly]
Posts are also viewable on this repo's GitHub Pages site: https://btouellette.github.io/HHHFreshBotRedux/
Or on the bot's user page on reddit: https://www.reddit.com/user/HHHFreshBotRedux
- Saves all [FRESH] posts to database, only posts with +25 score sent out in messages
- Reads messages sent to inbox
- If it's a subscribe request, it subscribes the user to either the daily or weekly round up (possible to subscribe to both if you send each one once)
- If it's a unsubscribe request, it unsubscribes the user from both round ups
- Send out the daily round up to all subscribed users
- Send out the weekly round up to all subscribed users
- Post the weekly round up to /r/HHHFreshBotRedux
- Save the weeks [FRESH] posts to this GitHub repo
Inspired by hizinfiz's HHHFreshBot (in spirit and look if not in code)
- Environment is using Docker Compose so startup should be as simple as
docker compose up
which will start it running checking once an hour for new posts. To run it on demand once usecommand: "node /usr/src/app/app.js"
in docker-compose.yml - When starting the bot up for the first time start within 3-4 days of a Sunday as the Reddit search API will only return the most recent ~250 results and if the results don't go back to the previous Sunday the week calculations will use the earliest day returned as the week start
MIT (See LICENSE)