Created
July 2, 2015 08:07
-
-
Save primenumber/0936dc9e8746d5756c7f to your computer and use it in GitHub Desktop.
鬱陶しい短冊ツイートを非表示にするmikutterプラグイン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
Plugin.create(:tanzaku_filter) do | |
filter_show_filter do |msgs| | |
msgs = msgs.select {|m| | |
/(┏|★)(┷|┻)┓\n(┃[[:print:]]?┃\n)+┗━(┛|★)/.match(m.to_s) == nil | |
} | |
[msgs] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment