Skip to content

Instantly share code, notes, and snippets.

@zwpp
Last active September 23, 2016 00:51
Show Gist options
  • Save zwpp/8a6e415668f6e831b0b499378e13a3da to your computer and use it in GitHub Desktop.
Save zwpp/8a6e415668f6e831b0b499378e13a3da to your computer and use it in GitHub Desktop.
mikutterで表示されたツイートを非表示にする
Plugin.create(:hide_tweet) do
command(:hide_tweet,
name: '隠す',
condition: lambda{ |opt| true },
visible: true,
role: :timeline) do |opt|
Plugin.call(:destroyed, opt.messages)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment