mirror of
https://github.com/thewesker/ebooks_example.git
synced 2025-12-22 13:21:09 -05:00
add time_difference gem
first use of INITIAL_CORPUS_FILE env var more concise bot#blacklisted?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user