Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active January 13, 2017 07:49
Show Gist options
  • Save kjunichi/15d47deb74c02d7a5d6d to your computer and use it in GitHub Desktop.
Save kjunichi/15d47deb74c02d7a5d6d to your computer and use it in GitHub Desktop.
2016/1/15

slack向けbot

hubot ruboty

api を使用して bot を作るには slack の realtime api を使う必要がある

web api

slack

永続化する必要あるのはどんな時

定期的に取得した情報をつぶやく

インライン画像を返せるのか?

駄目そう

heroku上におくなら、HTTPサーバーもたてることになるから ここで、?i=dataUriで渡されたパラメータをエンコードして返すなどすれば1Kバイト程度のサイズのイメージならいけそう

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment