From 28a837b1d5a6239a0385dbeffd9ee7c14100dff7 Mon Sep 17 00:00:00 2001 From: NullCat Date: Mon, 6 Feb 2023 15:18:32 +0900 Subject: [PATCH] 2 --- src/ai.ts | 4 ++-- src/config.ts | 1 + src/serifs.ts | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ai.ts b/src/ai.ts index 5748074..fcb398c 100644 --- a/src/ai.ts +++ b/src/ai.ts @@ -167,7 +167,7 @@ export default class 藍 { // リアクションする this.api('notes/reactions/create', { noteId: data.id, - reaction: ':love_nullcatchan:' + reaction: ':catchan:' }); }); @@ -236,7 +236,7 @@ export default class 藍 { } ); - let reaction: string | null = ':love_nullcatchan:'; + let reaction: string | null = config.love; let immediate: boolean = false; //#region diff --git a/src/config.ts b/src/config.ts index 6567428..28eb6a4 100644 --- a/src/config.ts +++ b/src/config.ts @@ -12,6 +12,7 @@ type Config = { memoryDir?: string; shellgeiUrl?: string; gomamayo: string; + "love": string; "antenna": string; "nadenade": string; "erai": string; diff --git a/src/serifs.ts b/src/serifs.ts index d4d0ac1..7ce4a3b 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -37,7 +37,7 @@ export default { okaeri: { love: name => (name ? [`おかえり${name}!`, `おかえりぃ${name}~`] : ['おかえり!', 'おかえりぃ~']), - love2: name => (name ? `おかえり~~!!${name}今日も偉いね:love_nullcatchan:` : 'おかえり~~!!今日も偉いね:love_nullcatchan:'), + love2: name => (name ? `おかえり~~!!${name}今日も偉いね!` : 'おかえり~~!!今日も偉いね!'), normal: name => (name ? `おかえり${name}!` : 'おかえり!') }, @@ -57,7 +57,7 @@ export default { love2: ['あぅ… 恥ずかしいよぉ', 'あぅ… 恥ずかしぃ…', 'ふみゃ…!?'], - love3: ['んへへぇ ありがと:love_nullcatchan:', 'にへぇ~~', 'んみゅっ… ', 'もっともっとぉ...'], + love3: ['んへへぇ ありがと〜〜', 'にへぇ~~', 'んみゅっ… ', 'もっともっとぉ...'], hate1: 'やめて',