 
   robot.respond /qhm:edit(?: (.+))?/i, editPage
 
+  robot.respond /qhm:release/i, releaseQHM
+  robot.respond /qhm\s*を?リリース/i, releaseQHM
+
   robot.brain.on "loaded", ->
     robot.brain.data.qhm = robot.brain.data.qhm or {}

    edit_url = URL.format urldata
    msg.send edit_url


  robot.respond /qhm:enc (.+)$/i, stringToHex


# Description:
#   Utility for QHM
#
# Configuration:
#   ENSMALL_HOOK_URL - webhook on ensmall.net
#   ENSMALL_TOKEN - Secret token of ensmall webhook
#
# Commands:
#   hubot qhm:enc <text> - encode string to hex
#   hubot qhm:dec <hex> - decode hex to string
#   hubot qhm:set <url> - set QHM site url
#   hubot qhm:edit <pagename|url> - get edit-page URL
#   hubot qhm:release - Release latest QHM

Path = require "path"
URL = require "url"
conv = require "binstring"
request = require "request"
crypto = require "crypto"

module.exports = (robot) ->

