From 0bedfc0f0cdbe403450554727e39f3f4b32853d1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Sep 2018 22:50:50 +0900 Subject: [PATCH] Improve AI --- 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 506f603..ac6dbd9 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -129,13 +129,13 @@ export default class CoreModule implements IModule { //#endregion }; - if (includes(msg.text, ['こんにちは'])) { + if (includes(msg.text, ['こんにちは', 'こんにちわ'])) { msg.reply(serifs.core.hello(msg.friend.name)); incLove(); return true; } - if (includes(msg.text, ['こんばんは'])) { + if (includes(msg.text, ['こんばんは', 'こんばんわ'])) { msg.reply(serifs.core.helloNight(msg.friend.name)); incLove(); return true;