mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 02:57:23 +09:00
live_nullcatchan ⇨ config.love
This commit is contained in:
parent
1eae754406
commit
641a8f02ac
@ -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 {
|
||||||
|
@ -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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user