From 98a7fd94bd15f45af207dee7d8098bf2fcdbf60e Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Aug 2018 21:41:53 +0900 Subject: [PATCH] Update serif --- src/modules/core/index.ts | 2 +- src/serifs.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index a19dda3..9581359 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -178,7 +178,7 @@ export default class CoreModule implements IModule { if (!msg.text) return false; if (!msg.text.includes('かわいい') && !msg.text.includes('可愛い')) return false; - msg.reply(serifs.core.kawaii); + msg.reply(msg.friend.love >= 5 ? serifs.core.kawaii2 : serifs.core.kawaii1); return true; } diff --git a/src/serifs.ts b/src/serifs.ts index 8f88525..36eaf4b 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -26,7 +26,9 @@ export default { nadenade3: 'ん… ありがとうございます♪', - kawaii: 'ありがとうございます♪' + kawaii1: 'ありがとうございます♪', + + kawaii2: '嬉しいです♪' }, keyword: {