From f4be7fb8f94fa5c28996e307b100c625445fd096 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 1 Jul 2019 03:43:53 +0900 Subject: [PATCH] more home --- src/modules/core/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index afe18e1..df78c0c 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -156,13 +156,13 @@ export default class extends Module { @autobind private erait(msg: Message): boolean { - const match = msg.extractedText.match(/(.+?)たから褒めて/); + const match = msg.extractedText.match(/(.+?)たから(褒|ほ)めて/); if (match) { msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name))); return true; } - const match2 = msg.extractedText.match(/(.+?)るから褒めて/); + const match2 = msg.extractedText.match(/(.+?)るから(褒|ほ)めて/); if (match2) { msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name))); return true;