mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-25 14:51:10 -05:00
3.0.3
This commit is contained in:
@@ -70,7 +70,7 @@ module Ebooks
|
|||||||
# - The tweet mentions list contains our username
|
# - The tweet mentions list contains our username
|
||||||
# - The tweet is not being retweeted by somebody else
|
# - The tweet is not being retweeted by somebody else
|
||||||
# - Or soft-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
|
end
|
||||||
|
|
||||||
# @param bot [Ebooks::Bot]
|
# @param bot [Ebooks::Bot]
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
module Ebooks
|
module Ebooks
|
||||||
VERSION = "3.0.2"
|
VERSION = "3.0.3"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user