Last active
December 15, 2015 01:39
-
-
Save penguin2716/5181630 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 :anonymous do | |
UserConfig[:anonymous_all_tweets] ||= false | |
filter_show_filter do |msgs| | |
if UserConfig[:anonymous_all_tweets] | |
msgs.map!{|m| Message.new(:message => m[:message], :system => true) } | |
end | |
[msgs] | |
end | |
settings "ツイートの匿名化" do | |
boolean "ツイートの匿名化を有効にする", :anonymous_all_tweets | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment