ä»åã¯ãHubotã®ã¹ã¯ãªãããåãä»çµã¿ã«ã¤ãã¦èª¬æããåºæ¬çãªæ©è½ã§ãããã£ããã§ã®åãçããå®è£ ããæ¹æ³ã説æããå¾ã«ããã®ä»ã®æ©è½ã«ã¤ãã¦ç´¹ä»ãã¾ãã ã¹ã¯ãªããã®åºæ¬ Hubotãã¹ã¯ãªãããèªã¿è¾¼ã¿å®è¡ããä»çµã¿ã説æããããã«ãââ helloâ âã¨æ¨æ¶ããã¨Hubotãââ hiâ âã¨è¿äºããåç´ãªã¹ã¯ãªããã®ãµã³ãã«ã示ãã¾ãã hello.coffee module.exports = (robot) -> robot.hear /hello/, (msg) -> msg.reply 'hi' ãã®ãµã³ãã«ã³ã¼ãã®ä¸çªå¤å´ãè¦ãã¨ãmodule.exportsã«é¢æ°ãä»£å ¥ãã¦ãã¾ãããã®module.exportsã¯ãNode.jsã§ã¢ã¸ã¥ã¼ã«ãä½ãããã®ä»çµã¿ã§ããã¤ã¾ããHubotã®ã¹ã¯ãªããã¨ã¯ãå¼æ°ã1ã¤ã¨ã1ã¤ã®é¢æ°ãæä¾ããNode.jsã®ã¢ã¸ã¥ã¼ã«ã¨ãããã¨ã«
{{#tags}}- {{label}}
{{/tags}}