<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utgwkk</author_name>
  <author_url>https://blog.hatena.ne.jp/utgwkk/</author_url>
  <blog_title>私が歌川です</blog_title>
  <blog_url>https://blog.utgw.net/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>/string_random で、与えられた正規表現にマッチする文字列をランダムに生成するSlackのスラッシュコマンドを作って、サークルのSlack workspaceで動かしている。 これまではHerokuで動かしていたのだけれど、Herokuだと寝ている時間が支配的で、たまに人間が来てはスラッシュコマンドを打ってもなかなか起きなくてタイムアウトすることがよくあった。 いつもサーバーは起きてる必要ないし、スラッシュコマンド来たときだけ反応してくれればいいので、サーバーレスってやつにしたい。 Cloud Functionsがいいって聞いて、週末暇だしやるか、ということでやった。 以下はClo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2020%2F04%2F05%2F210955&quot; title=&quot;SlackのスラッシュコマンドをHerokuからCloud Functionsに持っていく - 私が歌川です&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://i.gyazo.com/cf003fec06544398a78c2a8900a1c048.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-05 21:09:55</published>
  <title>SlackのスラッシュコマンドをHerokuからCloud Functionsに持っていく</title>
  <type>rich</type>
  <url>https://blog.utgw.net/entry/2020/04/05/210955</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
