add time_difference gem

first use of INITIAL_CORPUS_FILE env var
more concise bot#blacklisted?
This commit is contained in:
Joel McCoy
2015-02-12 15:46:06 -05:00
parent 8a26f1108f
commit b00dbab1a5
6 changed files with 20 additions and 5 deletions

View File

@@ -348,11 +348,7 @@ class Ebooks::Boodoo::BoodooBot < Ebooks::Bot
# Override Ebooks::Bot#blacklisted? to ensure lower<=>lower check
def blacklisted?(username)
if @blacklist.map(&:downcase).include?(username.downcase)
true
else
false
end
@blacklist.map(&:downcase).include?(username.downcase)
end
# Follow new followers, unfollow lost followers