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

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

View File

@ -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;