From a1c5dc8d56fd8e49091c60f05637e11193e187fc Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 6 Dec 2021 23:31:02 +0900 Subject: [PATCH] :sparkles: --- src/modules/core/index.ts | 5 ----- src/modules/noting/index.ts | 2 ++ src/serifs.ts | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index adb38af..b9655d6 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -75,11 +75,6 @@ export default class extends Module { // メッセージのみ if (!msg.isDm) return true; - if (msg.friend.love < 5) { - msg.reply(serifs.core.requireMoreLove); - return true; - } - const name = msg.text.match(/^(.+?)って呼んで/)![1]; if (name.length > 10) { diff --git a/src/modules/noting/index.ts b/src/modules/noting/index.ts index 1aed56d..c695504 100644 --- a/src/modules/noting/index.ts +++ b/src/modules/noting/index.ts @@ -40,6 +40,8 @@ export default class extends Module { const note = notes[Math.floor(Math.random() * notes.length)]; + // TODO: 季節に応じたセリフ + this.ai.post({ text: typeof note === 'function' ? note() : note }); diff --git a/src/serifs.ts b/src/serifs.ts index 44cfba6..c0da775 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -76,8 +76,6 @@ export default { invalidName: '発音が難しい気がします', - requireMoreLove: 'もっと仲良くなったら考えてあげてもいいですよ?', - nadenade: { normal: 'ひゃっ…! びっくりしました',