From 99d3e7628dd0e138fd30b0db8e1fc1ae600e8361 Mon Sep 17 00:00:00 2001 From: NullCat Date: Mon, 6 Feb 2023 18:13:40 +0900 Subject: [PATCH] del config.love --- src/ai.ts | 2 +- src/config.ts | 1 - src/modules/follow/index.ts | 4 ++-- src/modules/keyword/index.ts | 2 +- src/modules/ping/index.ts | 2 +- src/modules/shellgei/index.ts | 4 ++-- src/modules/version/index.ts | 2 +- 7 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/ai.ts b/src/ai.ts index fcb398c..b033be9 100644 --- a/src/ai.ts +++ b/src/ai.ts @@ -236,7 +236,7 @@ export default class 藍 { } ); - let reaction: string | null = config.love; + let reaction: string | null = 'πŸ’™' ; let immediate: boolean = false; //#region diff --git a/src/config.ts b/src/config.ts index 28eb6a4..6567428 100644 --- a/src/config.ts +++ b/src/config.ts @@ -12,7 +12,6 @@ type Config = { memoryDir?: string; shellgeiUrl?: string; gomamayo: string; - "love": string; "antenna": string; "nadenade": string; "erai": string; diff --git a/src/modules/follow/index.ts b/src/modules/follow/index.ts index 6af46f6..60aebb7 100644 --- a/src/modules/follow/index.ts +++ b/src/modules/follow/index.ts @@ -22,11 +22,11 @@ export default class extends Module { }); msg.reply('γ“γ‚Œγ‹γ‚‰γ‚ˆγ‚γ—γγ­οΌ', { immediate: true }); return { - reaction: msg.friend.love >= 0 ? config.love : null + reaction: msg.friend.love >= 0 ? 'πŸ’™' : null }; } else { return { - reaction: msg.friend.love >= 0 ? config.love : null + reaction: msg.friend.love >= 0 ? 'πŸ’™' : null }; } } else { diff --git a/src/modules/keyword/index.ts b/src/modules/keyword/index.ts index 8d3a80d..f223149 100644 --- a/src/modules/keyword/index.ts +++ b/src/modules/keyword/index.ts @@ -92,7 +92,7 @@ export default class extends Module { msg.reply('γŒγ‚“γ°γ£γ¦γΏγ‚‹γ­'); this.learn(); return { - reaction: ':bikkuri_nullcatchan:' + reaction: '❕' }; } else { return false; diff --git a/src/modules/ping/index.ts b/src/modules/ping/index.ts index 1f78667..984b133 100644 --- a/src/modules/ping/index.ts +++ b/src/modules/ping/index.ts @@ -15,7 +15,7 @@ export default class extends Module { @autobind private async mentionHook(msg: Message) { if (msg.text && msg.text.includes('ping')) { - msg.reply('$[x2 :bibibi_nullcatchan:]', { + msg.reply( 'ぬ!' , { immediate: true }); return true; diff --git a/src/modules/shellgei/index.ts b/src/modules/shellgei/index.ts index b69b672..538030e 100644 --- a/src/modules/shellgei/index.ts +++ b/src/modules/shellgei/index.ts @@ -44,7 +44,7 @@ export default class extends Module { const shellgeiResultStdOut = shellgeiResultJson.stdout; const shellgeiResultStdErr = shellgeiResultJson.stderr; if (shellgeiResultStdOut === '' && shellgeiResultStdErr === '') { - msg.reply(`硐果がγͺγ‹γ£γŸγ‚ˆ:cry_nullcatchan:`, { + msg.reply(`硐果がγͺγ‹γ£γŸγ‚ˆ`, { immediate: true }); } else { @@ -54,7 +54,7 @@ export default class extends Module { } } catch (e) { console.log(e); - msg.reply(`γ‚¨γƒ©γƒΌγŒη™Ίη”Ÿγ—γ‘γ‚ƒγ£γŸγ‚ˆ:cry_nullcatchan:\n${e}`, { + msg.reply(`γ‚¨γƒ©γƒΌγŒη™Ίη”Ÿγ—γ‘γ‚ƒγ£γŸγ‚ˆ....\n${e}`, { immediate: true }); } diff --git a/src/modules/version/index.ts b/src/modules/version/index.ts index bb1b584..5cb8211 100644 --- a/src/modules/version/index.ts +++ b/src/modules/version/index.ts @@ -72,7 +72,7 @@ export default class extends Module { msg.reply(`${this.mfmVersion(meta.version)} γΏγŸγ„γ γ‚ˆοΌ`); }) .catch(() => { - msg.reply(`ε–εΎ—ε€±ζ•—γ—γ‘γ‚ƒγ£γŸ:cry_nullcatchan:`); + msg.reply(`ε–εΎ—ε€±ζ•—γ—γ‘γ‚ƒγ£γŸ...`); }); return true;