live_nullcatchan ⇨ config.love

This commit is contained in:
NullCat 2023-02-06 15:18:21 +09:00
parent 1eae754406
commit 641a8f02ac
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
import autobind from 'autobind-decorator'; import autobind from 'autobind-decorator';
import Module from '@/module'; import Module from '@/module';
import Message from '@/message'; import Message from '@/message';
import config from '@/config';
export default class extends Module { export default class extends Module {
public readonly name = 'follow'; public readonly name = 'follow';
@ -21,11 +22,11 @@ export default class extends Module {
}); });
msg.reply('これからよろしくね!', { immediate: true }); msg.reply('これからよろしくね!', { immediate: true });
return { return {
reaction: msg.friend.love >= 0 ? ':love_nullcatchan:' : null reaction: msg.friend.love >= 0 ? config.love : null
}; };
} else { } else {
return { return {
reaction: msg.friend.love >= 0 ? ':love_nullcatchan:' : null reaction: msg.friend.love >= 0 ? config.love : null
}; };
} }
} else { } else {

View File

@ -5,7 +5,7 @@ import serifs from '@/serifs';
import * as seedrandom from 'seedrandom'; import * as seedrandom from 'seedrandom';
import { genItem } from '@/vocabulary'; import { genItem } from '@/vocabulary';
export const blessing = ['にゃん吉🐈', 'みゃ~吉🐾', 'ぬるきゃっと吉:love_nullcatchan:', 'なんかすごい吉✨', '特大吉✨', '大大吉🎊', '大吉🎊', '吉🎉', '中吉🎉', '小吉🎉', '凶🗿', '大凶🗿']; export const blessing = ['にゃん吉🐈', 'みゃ~吉🐾', 'ぬるきゃっと吉💙', 'なんかすごい吉✨', '特大吉✨', '大大吉🎊', '大吉🎊', '吉🎉', '中吉🎉', '小吉🎉', '凶🗿', '大凶🗿'];
export default class extends Module { export default class extends Module {
public readonly name = 'fortune'; public readonly name = 'fortune';