Skip to content

Instantly share code, notes, and snippets.

@teshi04
Last active December 15, 2015 15:08
Show Gist options
  • Save teshi04/5279029 to your computer and use it in GitHub Desktop.
Save teshi04/5279029 to your computer and use it in GitHub Desktop.
ふぁぼ公するmikutterプラグイン
#-*- coding: utf-8 -*-
Plugin.create :fav_rt do
command(:fav_rt,
name: 'ふぁぼ公',
condition: lambda{ |opt| true },
visible: true,
role: :timeline) do |opt|
opt.messages.each { |m|
m.message.favorite(true)
m.message.retweet
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment