{"action":"created","comment":{"url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/comments/41845958","id":41845958,"diff_hunk":"@@ -0,0 +1,315 @@\n+---\n+title: Slack上のrubotyに登録したジョブを編集する\n+date: 2015-09-29 17:18 JST\n+authors: otofu_square\n+tags: ruby\n+---\n+\n+こんにちは。2016年卒内定者のotofu_squareです。社内ではお豆腐先生と呼ばれています。\n+\n+今参加させていただいている内定者インターンの活動の一環として、技術ブログの執筆に加わってみよう、ということになりました。\n+そこで今回は、弊社が利用するSlack上で動くruboty ボット『feedくん』と、そのボットに登録されたジョブをまとめて編集する方法についてご紹介します。\n+\n+<!--more-->\n+\n+## feedくんとは\n+\n+feedくんは、feedforceの公式ゆるキャラ（？）で、[弊社ホームページ](https://www.feedforce.jp)上でも所々に出てきては見ている人の心を和ませてくれる憎めないヤツです。\n+弊社では社内のコミュニケーションツールとしてSlackを利用しており、その中にfeedくんがボットとして住んでいます。\n+\n+<img style=\"display: block; margin-left: auto; margin-right:auto;\" src=\"/images/2015/09/feedkun.png\" alt=\"Slack上に住んでいる弊社マスコットキャラクター「feedくん」\"/>\n+\n+feedくんは[ruboty](https://github.com/r7kamura/ruboty)というチャットボットフレームワークで実装されHeroku上で動作しており、[ruboty-cron](https://github.com/r7kamura/ruboty-cron)というプラグインを利用して必要に応じてジョブを登録して発言してもらっています。\n+その他にも、画像を検索してくれたり、雑談に付き合ってくれたりもします。\n+最近では、弊社の[技術書管理](https://github.com/rike422/ruboty-can_i_borrow)にもfeedくんを使ってみよう…！という動きもあるようです。","path":"source/posts/2015-09-29-ruboty-redis.html.md","position":24,"original_position":24,"commit_id":"dcadc0597787b32ab81783571ea57c972bbfd457","original_commit_id":"dcadc0597787b32ab81783571ea57c972bbfd457","user":{"login":"otofu-square","id":10118235,"avatar_url":"https://avatars.githubusercontent.com/u/10118235?v=3","gravatar_id":"","url":"https://api.github.com/users/otofu-square","html_url":"https://github.com/otofu-square","followers_url":"https://api.github.com/users/otofu-square/followers","following_url":"https://api.github.com/users/otofu-square/following{/other_user}","gists_url":"https://api.github.com/users/otofu-square/gists{/gist_id}","starred_url":"https://api.github.com/users/otofu-square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otofu-square/subscriptions","organizations_url":"https://api.github.com/users/otofu-square/orgs","repos_url":"https://api.github.com/users/otofu-square/repos","events_url":"https://api.github.com/users/otofu-square/events{/privacy}","received_events_url":"https://api.github.com/users/otofu-square/received_events","type":"User","site_admin":false},"body":"@kano-e \r\n確認ありがとうございます！\r\n確かに `技術書管理` に直接リンクを貼るのは良くないですね…\r\nアドバイスの通り、蔵書管理に[ruboty-can_i_borrow])0を使って…というような文言に変更したいと思います！","created_at":"2015-10-13T09:38:46Z","updated_at":"2015-10-13T09:38:46Z","html_url":"https://github.com/feedforce/tech.feedforce.jp/pull/127#discussion_r41845958","pull_request_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127","_links":{"self":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/comments/41845958"},"html":{"href":"https://github.com/feedforce/tech.feedforce.jp/pull/127#discussion_r41845958"},"pull_request":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127","id":46375049,"html_url":"https://github.com/feedforce/tech.feedforce.jp/pull/127","diff_url":"https://github.com/feedforce/tech.feedforce.jp/pull/127.diff","patch_url":"https://github.com/feedforce/tech.feedforce.jp/pull/127.patch","issue_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/127","number":127,"state":"open","locked":false,"title":"Add article ruboty-redis","user":{"login":"otofu-square","id":10118235,"avatar_url":"https://avatars.githubusercontent.com/u/10118235?v=3","gravatar_id":"","url":"https://api.github.com/users/otofu-square","html_url":"https://github.com/otofu-square","followers_url":"https://api.github.com/users/otofu-square/followers","following_url":"https://api.github.com/users/otofu-square/following{/other_user}","gists_url":"https://api.github.com/users/otofu-square/gists{/gist_id}","starred_url":"https://api.github.com/users/otofu-square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otofu-square/subscriptions","organizations_url":"https://api.github.com/users/otofu-square/orgs","repos_url":"https://api.github.com/users/otofu-square/repos","events_url":"https://api.github.com/users/otofu-square/events{/privacy}","received_events_url":"https://api.github.com/users/otofu-square/received_events","type":"User","site_admin":false},"body":"Slack上のrubotyに登録したジョブを編集するという内容で記事を書きました。\r\n\r\n## 合わせてやったこと\r\n\r\n* 自分のauthor情報が無かったため追加しました。\r\n* 自己紹介画像を追加しました。\r\n\r\n## 確認してほしいこと\r\n\r\n確認URL\r\nhttps://feedforce-tech-blog-pr-127.herokuapp.com/ruboty-redis.html\r\n\r\nブログ記事を書くのに慣れていないので、言い回しや表現、記事の長さ、構成など何でもアドバイスしていただけるととても嬉しいです。\r\nよろしくお願いします。\r\n\r\n## 2015/10/06追記\r\n\r\nWIP外しました！\r\nWIPだった箇所の記事の作成と、皆さんからコメントいただいた部分に関して修正を行いました。\r\n\r\n## マージ条件\r\n\r\n* [ ] `date` を公開日にする\r\n* [ ] masterをマージする\r\n","created_at":"2015-09-30T08:45:18Z","updated_at":"2015-10-13T09:38:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a48d689230a903c27ba0aed00e9a61af052ba5aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127/commits","review_comments_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127/comments","review_comment_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/127/comments","statuses_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/statuses/dcadc0597787b32ab81783571ea57c972bbfd457","head":{"label":"feedforce:article-of-ruboty-redis","ref":"article-of-ruboty-redis","sha":"dcadc0597787b32ab81783571ea57c972bbfd457","user":{"login":"feedforce","id":4169389,"avatar_url":"https://avatars.githubusercontent.com/u/4169389?v=3","gravatar_id":"","url":"https://api.github.com/users/feedforce","html_url":"https://github.com/feedforce","followers_url":"https://api.github.com/users/feedforce/followers","following_url":"https://api.github.com/users/feedforce/following{/other_user}","gists_url":"https://api.github.com/users/feedforce/gists{/gist_id}","starred_url":"https://api.github.com/users/feedforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedforce/subscriptions","organizations_url":"https://api.github.com/users/feedforce/orgs","repos_url":"https://api.github.com/users/feedforce/repos","events_url":"https://api.github.com/users/feedforce/events{/privacy}","received_events_url":"https://api.github.com/users/feedforce/received_events","type":"Organization","site_admin":false},"repo":{"id":27247535,"name":"tech.feedforce.jp","full_name":"feedforce/tech.feedforce.jp","owner":{"login":"feedforce","id":4169389,"avatar_url":"https://avatars.githubusercontent.com/u/4169389?v=3","gravatar_id":"","url":"https://api.github.com/users/feedforce","html_url":"https://github.com/feedforce","followers_url":"https://api.github.com/users/feedforce/followers","following_url":"https://api.github.com/users/feedforce/following{/other_user}","gists_url":"https://api.github.com/users/feedforce/gists{/gist_id}","starred_url":"https://api.github.com/users/feedforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedforce/subscriptions","organizations_url":"https://api.github.com/users/feedforce/orgs","repos_url":"https://api.github.com/users/feedforce/repos","events_url":"https://api.github.com/users/feedforce/events{/privacy}","received_events_url":"https://api.github.com/users/feedforce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feedforce/tech.feedforce.jp","description":"feedforce Engineers' blog","fork":false,"url":"https://api.github.com/repos/feedforce/tech.feedforce.jp","forks_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/forks","keys_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/teams","hooks_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/hooks","issue_events_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/events{/number}","events_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/events","assignees_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/assignees{/user}","branches_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/branches{/branch}","tags_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/tags","blobs_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/refs{/sha}","trees_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/statuses/{sha}","languages_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/languages","stargazers_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/stargazers","contributors_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/contributors","subscribers_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/subscribers","subscription_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/subscription","commits_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/commits{/sha}","git_commits_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/commits{/sha}","comments_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/comments{/number}","issue_comment_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/comments{/number}","contents_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/contents/{+path}","compare_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/merges","archive_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/downloads","issues_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues{/number}","pulls_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls{/number}","milestones_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/milestones{/number}","notifications_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/labels{/name}","releases_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/releases{/id}","created_at":"2014-11-28T01:42:34Z","updated_at":"2015-05-07T02:33:06Z","pushed_at":"2015-10-13T07:11:06Z","git_url":"git://github.com/feedforce/tech.feedforce.jp.git","ssh_url":"git@github.com:feedforce/tech.feedforce.jp.git","clone_url":"https://github.com/feedforce/tech.feedforce.jp.git","svn_url":"https://github.com/feedforce/tech.feedforce.jp","homepage":"http://tech.feedforce.jp/","size":16200,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":3,"default_branch":"master"}},"base":{"label":"feedforce:master","ref":"master","sha":"21ceddaefc09f8b1e31637d193dbe32f516f5359","user":{"login":"feedforce","id":4169389,"avatar_url":"https://avatars.githubusercontent.com/u/4169389?v=3","gravatar_id":"","url":"https://api.github.com/users/feedforce","html_url":"https://github.com/feedforce","followers_url":"https://api.github.com/users/feedforce/followers","following_url":"https://api.github.com/users/feedforce/following{/other_user}","gists_url":"https://api.github.com/users/feedforce/gists{/gist_id}","starred_url":"https://api.github.com/users/feedforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedforce/subscriptions","organizations_url":"https://api.github.com/users/feedforce/orgs","repos_url":"https://api.github.com/users/feedforce/repos","events_url":"https://api.github.com/users/feedforce/events{/privacy}","received_events_url":"https://api.github.com/users/feedforce/received_events","type":"Organization","site_admin":false},"repo":{"id":27247535,"name":"tech.feedforce.jp","full_name":"feedforce/tech.feedforce.jp","owner":{"login":"feedforce","id":4169389,"avatar_url":"https://avatars.githubusercontent.com/u/4169389?v=3","gravatar_id":"","url":"https://api.github.com/users/feedforce","html_url":"https://github.com/feedforce","followers_url":"https://api.github.com/users/feedforce/followers","following_url":"https://api.github.com/users/feedforce/following{/other_user}","gists_url":"https://api.github.com/users/feedforce/gists{/gist_id}","starred_url":"https://api.github.com/users/feedforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedforce/subscriptions","organizations_url":"https://api.github.com/users/feedforce/orgs","repos_url":"https://api.github.com/users/feedforce/repos","events_url":"https://api.github.com/users/feedforce/events{/privacy}","received_events_url":"https://api.github.com/users/feedforce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feedforce/tech.feedforce.jp","description":"feedforce Engineers' blog","fork":false,"url":"https://api.github.com/repos/feedforce/tech.feedforce.jp","forks_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/forks","keys_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/teams","hooks_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/hooks","issue_events_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/events{/number}","events_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/events","assignees_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/assignees{/user}","branches_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/branches{/branch}","tags_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/tags","blobs_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/refs{/sha}","trees_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/statuses/{sha}","languages_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/languages","stargazers_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/stargazers","contributors_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/contributors","subscribers_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/subscribers","subscription_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/subscription","commits_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/commits{/sha}","git_commits_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/git/commits{/sha}","comments_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/comments{/number}","issue_comment_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/comments{/number}","contents_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/contents/{+path}","compare_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/merges","archive_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/downloads","issues_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues{/number}","pulls_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls{/number}","milestones_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/milestones{/number}","notifications_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/labels{/name}","releases_url":"https://api.github.com/repos/feedforce/tech.feedforce.jp/releases{/id}","created_at":"2014-11-28T01:42:34Z","updated_at":"2015-05-07T02:33:06Z","pushed_at":"2015-10-13T07:11:06Z","git_url":"git://github.com/feedforce/tech.feedforce.jp.git","ssh_url":"git@github.com:feedforce/tech.feedforce.jp.git","clone_url":"https://github.com/feedforce/tech.feedforce.jp.git","svn_url":"https://github.com/feedforce/tech.feedforce.jp","homepage":"http://tech.feedforce.jp/","size":16200,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127"},"html":{"href":"https://github.com/feedforce/tech.feedforce.jp/pull/127"},"issue":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/127"},"comments":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/feedforce/tech.feedforce.jp/statuses/dcadc0597787b32ab81783571ea57c972bbfd457"}}}}