From 673e69802c4af9be0dd0a5e90a941419be1d76b5 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 25 Aug 2018 19:43:59 +0200 Subject: [PATCH] Better documentation of operating modes. --- README.md | 1 - dailyreleases/config.ini.default | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b56b71d..07081c2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Daily Releases -## Quick Start ### Installation The easiest way to install the bot is to use pip: diff --git a/dailyreleases/config.ini.default b/dailyreleases/config.ini.default index 90b839c..609306e 100644 --- a/dailyreleases/config.ini.default +++ b/dailyreleases/config.ini.default @@ -1,7 +1,7 @@ [main] - # mode = -# immediately : Immediately generate and submit post to own subreddit. PM reddit notify_users with link to post. +# immediately : Immediately generate and submit post to own subreddit. PM reddit notify_users with link to post. This +# mode is useful for cron jobs, e.g. generating at midnight: '0 0 * * * /usr/local/bin/python3.6 -m dailyreleases'. # reply : Listen for reddit PMs; on receipt, generate and submit post to own subreddit. Reply with link to post. # test : Generate and print to log and console. Nothing is posted to reddit. mode = test @@ -27,7 +27,7 @@ authorized_users = spez,Deimorz,kn0thing # List of users who should receive a PM on generation. Only applies to 'immediately' mode, since the sender will receive # the PM in 'reply' mode. -notify_users = chooter,GallowBoob +notify_users = chooter,alienth # Reddit perceives PMs with many links as spam, so the bot posts the code for the generated post in its own subreddit # instead of sending it directly in the PM.