From d7bbd588077cf61156034e33579917c50d59bff9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 4 Sep 2020 12:32:07 +0900 Subject: [PATCH] :v: --- package.json | 2 +- src/modules/emoji-react/index.ts | 2 +- src/modules/ping/index.ts | 4 +++- src/serifs.ts | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 695627e..52f5be6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "_v": "1.1.1", + "_v": "1.1.2", "main": "./built/index.js", "scripts": { "start": "node ./built", diff --git a/src/modules/emoji-react/index.ts b/src/modules/emoji-react/index.ts index 0e1ee52..c06ba91 100644 --- a/src/modules/emoji-react/index.ts +++ b/src/modules/emoji-react/index.ts @@ -31,7 +31,7 @@ export default class extends Module { noteId: note.id, reaction: reaction }); - }, 1000); + }, 1500); }; const customEmojis = note.text.match(/:([^\n:]+?):/g); diff --git a/src/modules/ping/index.ts b/src/modules/ping/index.ts index f8672c6..c7c4455 100644 --- a/src/modules/ping/index.ts +++ b/src/modules/ping/index.ts @@ -15,7 +15,9 @@ export default class extends Module { @autobind private async mentionHook(msg: Message) { if (msg.text && msg.text.includes('ping')) { - msg.reply('PONG!'); + msg.reply('PONG!', { + immediate: true + }); return true; } else { return false; diff --git a/src/serifs.ts b/src/serifs.ts index 20da348..dff0f1b 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -424,6 +424,7 @@ export default { 'あぅ', 'ふみゃ〜', 'ふぁ… ねむねむですー', + 'ヾ(๑╹◡╹)ノ"', ], want: item => `${item}、欲しいなぁ...`, see: item => `お散歩していたら、道に${item}が落ちているのを見たんです!`,