diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index b3d48a1..5aa6d3d 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(match2[1], msg.friend.name))); return true;