This commit is contained in:
syuilo 2020-09-04 12:32:07 +09:00
parent 6bd4ae2268
commit d7bbd58807
4 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ {
"_v": "1.1.1", "_v": "1.1.2",
"main": "./built/index.js", "main": "./built/index.js",
"scripts": { "scripts": {
"start": "node ./built", "start": "node ./built",

View file

@ -31,7 +31,7 @@ export default class extends Module {
noteId: note.id, noteId: note.id,
reaction: reaction reaction: reaction
}); });
}, 1000); }, 1500);
}; };
const customEmojis = note.text.match(/:([^\n:]+?):/g); const customEmojis = note.text.match(/:([^\n:]+?):/g);

View file

@ -15,7 +15,9 @@ export default class extends Module {
@autobind @autobind
private async mentionHook(msg: Message) { private async mentionHook(msg: Message) {
if (msg.text && msg.text.includes('ping')) { if (msg.text && msg.text.includes('ping')) {
msg.reply('PONG!'); msg.reply('PONG!', {
immediate: true
});
return true; return true;
} else { } else {
return false; return false;

View file

@ -424,6 +424,7 @@ export default {
'あぅ', 'あぅ',
'ふみゃ〜', 'ふみゃ〜',
'ふぁ… ねむねむですー', 'ふぁ… ねむねむですー',
'ヾ(๑╹◡╹)ノ"',
], ],
want: item => `${item}、欲しいなぁ...`, want: item => `${item}、欲しいなぁ...`,
see: item => `お散歩していたら、道に${item}が落ちているのを見たんです!`, see: item => `お散歩していたら、道に${item}が落ちているのを見たんです!`,