From 4e8cae7b9047e0b05ecd71cc1ffe0fa2c36072b4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Aug 2018 13:12:43 +0900 Subject: [PATCH] Improve AI --- 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 c90d377..5cd7d9d 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -119,7 +119,7 @@ export default class CoreModule implements IModule { msg.friend.incLove(); }; - if (msg.text.includes('おはよう')) { + if (msg.text.includes('おはよう') || msg.text.includes('おはよ')) { if (msg.friend.name) { msg.reply(serifs.core.goodMorningWithName.replace('{name}', msg.friend.name)); } else {