This commit is contained in:
syuilo 2017-10-07 18:31:55 +09:00
parent 96b6ef4d9b
commit 64db806627

View File

@ -32,6 +32,8 @@ class LineBot extends BotCore {
} }
public async react(ev: any): Promise<void> { public async react(ev: any): Promise<void> {
this.replyToken = ev.replyToken;
// テキスト以外(スタンプなど)は無視 // テキスト以外(スタンプなど)は無視
if (ev.message.type !== 'text') return; if (ev.message.type !== 'text') return;