From 7a74ffbf6ef09e045c8d4523cacc403209dbe8bb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 2 Sep 2018 23:49:25 +0900 Subject: [PATCH] Fix bug --- 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 bc7676b..5621677 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -217,7 +217,7 @@ export default class CoreModule implements IModule { if (!msg.isMessage) return true; msg.reply( - msg.friend.love >= 5 ? serifs.core.suki.love : + msg.friend.love >= 5 ? (msg.friend.name ? serifs.core.suki.love(msg.friend.name) : serifs.core.suki.normal) : msg.friend.love <= -3 ? serifs.core.suki.hate : serifs.core.suki.normal);