mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 01:27:17 +09:00
del config.love
This commit is contained in:
parent
c523767a06
commit
99d3e7628d
@ -236,7 +236,7 @@ export default class 藍 {
|
||||
}
|
||||
);
|
||||
|
||||
let reaction: string | null = config.love;
|
||||
let reaction: string | null = '💙' ;
|
||||
let immediate: boolean = false;
|
||||
|
||||
//#region
|
||||
|
@ -12,7 +12,6 @@ type Config = {
|
||||
memoryDir?: string;
|
||||
shellgeiUrl?: string;
|
||||
gomamayo: string;
|
||||
"love": string;
|
||||
"antenna": string;
|
||||
"nadenade": string;
|
||||
"erai": string;
|
||||
|
@ -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 {
|
||||
|
@ -92,7 +92,7 @@ export default class extends Module {
|
||||
msg.reply('がんばってみるね');
|
||||
this.learn();
|
||||
return {
|
||||
reaction: ':bikkuri_nullcatchan:'
|
||||
reaction: '❕'
|
||||
};
|
||||
} else {
|
||||
return false;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
});
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ export default class extends Module {
|
||||
msg.reply(`${this.mfmVersion(meta.version)} みたいだよ!`);
|
||||
})
|
||||
.catch(() => {
|
||||
msg.reply(`取得失敗しちゃった:cry_nullcatchan:`);
|
||||
msg.reply(`取得失敗しちゃった...`);
|
||||
});
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user