Skip to content

Instantly share code, notes, and snippets.

@boronology
Last active June 30, 2016 13:10
Show Gist options
  • Save boronology/be0019622a76b6757407b335495439d0 to your computer and use it in GitHub Desktop.
Save boronology/be0019622a76b6757407b335495439d0 to your computer and use it in GitHub Desktop.
mikutter用プラグイン。「失った信用」とか聞かれたくない人におすすめ。
# -*- 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