tommeagher / heroku_ebooks

An archive of a script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku. No longer actively supported.
264 stars 163 forks source link

Add SOURCE_EXCLUDE setting to filter the source account's tweets #33

Closed 00dani closed 7 years ago

00dani commented 7 years ago

SOURCE_EXCLUDE is a regular expression - any tweets from the source account that match it will not be passed on to the Markov generation and so will not be used to produce the bot's tweets. My intention behind this feature is to prevent your bot from "learning" inappropriate words or phrases, thereby producing inappropriate tweets.

tommeagher commented 7 years ago

Very cool. Thanks for the PR. I'm a little backed up on merging this, but I'll try to get this all added to master soon. Thank you!

tommeagher commented 7 years ago

This is great. Merging this now. Thanks!

tommeagher commented 7 years ago

I just merged this, @00dani, but do you want to add a note in the README to describe this feature and reopen this PR?