Last active
March 1, 2016 16:51
-
-
Save verno3632/092b4392efc686bdbb04 to your computer and use it in GitHub Desktop.
botのiconを差し替えてpostさせる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (robot) -> | |
robot.respond(/test/i, (msg) -> | |
robot.adapter.customMessage({ | |
message: msg, | |
text: "hogehoge, | |
username:"other_than_robot", | |
icon_url:"http://hogehoge/icon.png" | |
}) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment