From 5f87d8517d815d2e0529bc5876f5e1cefbd9658e Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 1 Jul 2019 03:45:58 +0900 Subject: [PATCH] Fix bug --- src/modules/core/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index df78c0c..b3d48a1 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -164,7 +164,7 @@ export default class extends Module { const match2 = msg.extractedText.match(/(.+?)るから(褒|ほ)めて/); if (match2) { - msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name))); + msg.reply(getSerif(serifs.core.erait.specify(match2[1], msg.friend.name))); return true; }