Last active
December 24, 2016 18:02
-
-
Save kypkyp/2a67f93009ee452ec7c61ff2abd1ebae to your computer and use it in GitHub Desktop.
とても しんぷるな やつ
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
/* じっさいには トークンとか いろいろな初期設定がひつよう (ただし デフォルトのサンプルコードに のっとればOK)*/ | |
controller.hears(['hi'], 'direct_message,direct_mention,mention,ambient', function(bot, message) { | |
if(message.channel === "********"){ | |
bot.say({ | |
channel:"C2Z3UJWAW", | |
text:"hello!", | |
username:"kyp_bot" | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment