                 contents += "#{chunk}"
             res.on 'end', () ->
                 j = JSON.parse contents
+                # console.log j
 
-                rep = "(ninja) はいっ *・゜゜・*:.。..。.:*・゜・*:.。. .。.:*・゜゜・**・゜゜・*:.。\n"
-                # console.log j
+                if j['sakes'].length == 0
+                    msg.send "..."
+                    return
+
+                rep = ""
                 for i, value of j['sakes']
                     rep += "\n『" + value['sake_name'] + " (" + value['sake_furigana'] + ")』 \n"
                     if "maker_name" of value == true

    "埼玉県":11,   "埼玉":11,    "さいたま":11,
    "千葉県":12,   "千葉":12,    "ちば":12,
    "東京都":13,   "東京":13,    "とうきょう":13,
    "神奈川県":14, "神奈川":14,
    "新潟県":15,   "新潟":15,
    "富山県":16,   "富山":16,
    "石川県":17,   "石川":17,
    "福井県":18,   "福井":18,
    "山梨県":19,   "山梨":19,
    "長野県":20,   "長野":20,
    "岐阜県":21,   "岐阜":21,
    "静岡県":22,   "静岡":22,
    "愛知県":23,   "愛知":23,
    "三重県":24,   "三重":24,
    "滋賀県":25,   "滋賀":25,
    "京都府":26,   "京都":26,
    "大阪府":27,   "大阪":27,
    "兵庫県":28,   "兵庫":28,
    "奈良県":29,   "奈良":29,
    "和歌山県":30, "和歌山":30,
    "鳥取県":31,   "鳥取":31,
    "島根県":32,   "島根":32,
    "岡山県":33,   "岡山":33,
    "広島県":34,   "広島":34,
    "山口県":35,   "山口":35,
    "徳島県":36,   "徳島":36,
    "香川県":37,   "香川":37,
    "愛媛県":38,   "愛媛":38,
    "高知県":39,   "高知":39,
    "福岡県":40,   "福岡":40,
    "佐賀県":41,   "佐賀":41,
    "長崎県":42,   "長崎":42,
    "熊本県":43,   "熊本":43,
    "大分県":44,   "大分":44,
    "宮崎県":45,   "宮崎":45,
    "鹿児島県":46, "鹿児島":46,
    "沖縄県":47,   "沖縄":47
}


module.exports = (robot) ->

    robot.respond /(.+)(の情報|のつく酒|って酒|のお酒|のおさけ|の酒|のさけ|なんとか|何とか)$/i, (msg) ->
        get_sake_info msg, msg.match[1]

    get_sake_info = (msg, keyword="") ->
        p = "/api/v1/sakes"

                msg.send rep

        req.on "error", (e) ->
            msg.send "(boom)ぅぅぅ... {e.message}"
