more home

This commit is contained in:
syuilo 2019-07-01 03:40:42 +09:00
parent e553183b5d
commit 9348f35a0d
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -162,6 +162,12 @@ export default class extends Module {
return true;
}
const match2 = msg.extractedText.match(/(.+?)るから褒めて/);
if (match2) {
msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name)));
return true;
}
if (!msg.includes(['褒めて', 'ほめて'])) return false;
msg.reply(getSerif(serifs.core.erait.general(msg.friend.name)));