#-*- coding: utf-8 -*-
Plugin.create(:side_tana) do
command(:side_tana,
name: 'たなさんする',
condition: lambda{ |opt| true },
visible: true,
role: :timeline) do |opt|
opt.messages.each { |m|
Service.primary.post(:message =>"かえるぴょこぴょこ#{" " * rand(10)}", :replyto => m)
Service.primary.post(:message =>"あわせてぴょこぴょこ#{" " * rand(10)}", :replyto => m)
}
end
end