最近this.emit(":tell", msg)
って書き方をやめることにしたから、自分用のメモ。
なぜやめた
this.emit(":アクション名", msg);
の形だと、AudioPlayがやりにくい。
よって、もっと柔軟なことができるやり方に統一する事にした。
:tellに相当するもの
this.emit(':tell', msg);
thi.response.speak(msg);
this.emit(':responseReady');
:ask相当するもの
this.emit(":ask", msg, repronmt);
this.response.speak(msg).linsten(repronmt);
this.emit(":responseReady");