First commit for Boodoo_Books on _ebooks 3.0.0

- Use .env file for secrets/config values
 - Maintain follower/following parity periodically
 TODO:
  - Support banned terms (override #valid_tweet?)
  - Commands via DM (at least "tweet" command from owner should work)
  - Investigate (anti)social behavior more deeply
 THEN:
  - Spooling/wait-for-config state for post-deploy, pre-config
  - Archive/model creation post-deploy
  - Archive/model periodic refresh
This commit is contained in:
Joel McCoy
2014-12-10 02:14:21 -05:00
parent c42f42a81d
commit cfd7b74d3d
4 changed files with 183 additions and 26 deletions

18
sample.env Normal file
View File

@@ -0,0 +1,18 @@
BOT_NAME=
SOURCE_USERNAME=
CONSUMER_KEY=
CONSUMER_SECRET=
ACCESS_TOKEN=
ACCESS_TOKEN_SECRET=
UPDATE_FOLLOWS_INTERVAL=90m
TWEET_INTERVAL=2m
TWEET_CHANCE=0.8
BLACKLIST=tinysubversions, dril
BANNED_TERMS=voldemort, evgeny morozov, heroku
SPECIAL_TERMS=
DEFAULT_DELAY=5..60
DM_DELAY=0
MENTION_DELAY=5..60
TIMELINE_DELAY=10..600
TIMEOUT_SLEEP=5
MAX_ERROR_RETRIES=10