From 395d3c573ffaec3a7602b4c3910805935b24a1a7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Aug 2018 13:38:39 +0900 Subject: [PATCH] Refactor --- 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 403619d..4bd67b6 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -122,7 +122,7 @@ export default class CoreModule implements IModule { msg.friend.incLove(); }; - if (msg.text.includes('おはよう') || msg.text.includes('おはよ')) { + if (msg.text.includes('おはよ')) { if (msg.friend.name) { msg.reply(serifs.core.goodMorningWithName.replace('{name}', msg.friend.name)); } else {