From 9348f35a0d92613267ce3bb33f77a7c3b7127f30 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 1 Jul 2019 03:40:42 +0900 Subject: [PATCH] more home --- src/modules/core/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index ddb3b13..afe18e1 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -162,6 +162,12 @@ export default class extends Module { return true; } + const match2 = msg.extractedText.match(/(.+?)るから褒めて/); + if (match2) { + msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name))); + return true; + } + if (!msg.includes(['褒めて', 'ほめて'])) return false; msg.reply(getSerif(serifs.core.erait.general(msg.friend.name)));