This commit is contained in:
Jaiden Mispy 2014-12-06 22:37:10 +11:00
parent 003d0668e9
commit a2ca0da967
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ module Ebooks
# - The tweet mentions list contains our username
# - The tweet is not being retweeted by somebody else
# - Or soft-retweeted by somebody else
@mentions.map(&:downcase).include?(@bot.username.downcase) && !@tweet.retweeted_status? && !@tweet.text.start_with?('RT ') && !@tweet.text.match(/([`'"“”]|RT|via|by|from)\s*@/i)
@mentions.map(&:downcase).include?(@bot.username.downcase) && !@tweet.retweeted_status? && !@tweet.text.match(/([`'"“”]|RT|via|by|from)\s*@/i)
end
# @param bot [Ebooks::Bot]

View file

@ -1,3 +1,3 @@
module Ebooks
VERSION = "3.0.2"
VERSION = "3.0.3"
end