Last active
June 30, 2016 13:10
-
-
Save boronology/be0019622a76b6757407b335495439d0 to your computer and use it in GitHub Desktop.
mikutter用プラグイン。「失った信用」とか聞かれたくない人におすすめ。
This file contains hidden or 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 :force_delete do | |
command(:force_delete, | |
name: '何も聞かずに消す', | |
condition: Plugin::Command[:IsMyMessageAll], | |
visible: true, | |
role: :timeline) do |opt| | |
opt.messages.each { |m| | |
m.destroy } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment