From 641a8f02ac000977befc88a49e6a4c9909fb6fd6 Mon Sep 17 00:00:00 2001 From: NullCat Date: Mon, 6 Feb 2023 15:18:21 +0900 Subject: [PATCH] =?UTF-8?q?live=5Fnullcatchan=20=E2=87=A8=20config.love?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/follow/index.ts | 5 +++-- src/modules/fortune/index.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/modules/follow/index.ts b/src/modules/follow/index.ts index d88407e..6af46f6 100644 --- a/src/modules/follow/index.ts +++ b/src/modules/follow/index.ts @@ -1,6 +1,7 @@ import autobind from 'autobind-decorator'; import Module from '@/module'; import Message from '@/message'; +import config from '@/config'; export default class extends Module { public readonly name = 'follow'; @@ -21,11 +22,11 @@ export default class extends Module { }); msg.reply('これからよろしくね!', { immediate: true }); return { - reaction: msg.friend.love >= 0 ? ':love_nullcatchan:' : null + reaction: msg.friend.love >= 0 ? config.love : null }; } else { return { - reaction: msg.friend.love >= 0 ? ':love_nullcatchan:' : null + reaction: msg.friend.love >= 0 ? config.love : null }; } } else { diff --git a/src/modules/fortune/index.ts b/src/modules/fortune/index.ts index 1435011..9fc1a43 100644 --- a/src/modules/fortune/index.ts +++ b/src/modules/fortune/index.ts @@ -5,7 +5,7 @@ import serifs from '@/serifs'; import * as seedrandom from 'seedrandom'; import { genItem } from '@/vocabulary'; -export const blessing = ['にゃん吉🐈', 'みゃ~吉🐾', 'ぬるきゃっと吉:love_nullcatchan:', 'なんかすごい吉✨', '特大吉✨', '大大吉🎊', '大吉🎊', '吉🎉', '中吉🎉', '小吉🎉', '凶🗿', '大凶🗿']; +export const blessing = ['にゃん吉🐈', 'みゃ~吉🐾', 'ぬるきゃっと吉💙', 'なんかすごい吉✨', '特大吉✨', '大大吉🎊', '大吉🎊', '吉🎉', '中吉🎉', '小吉🎉', '凶🗿', '大凶🗿']; export default class extends Module { public readonly name = 'fortune';