speak every statement by say command (say command is needed. so this hubot-script can use only mac)
if statement starts with space, say command will be skipped (
npm install --save say-hubot
save below environmental variables
export SAY_HUBOT_ENGLISH_VOICE="Alex"export SAY_HUBOT_JAPANESE_VOICE="Otoya"
if you need japanese voice, you must download voice from mac system config menu (システム環境設定＞音声入力と読み上げ＞テキスト読み上げ). if you don't need japanese voice, you can just set english voice name into environmental variables above.
add "hubot-say" into external-scripts.json
execSync compile failed
if you want use hubot-twitter-userstream & you want saying your account's tweet
return if @botUserid == tweetuserid # at line 63