1
0
Fork 0
mirror of https://github.com/syuilo/ai.git synced 2025-03-02 03:03:56 +00:00

more home

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

View file

@ -156,13 +156,13 @@ export default class extends Module {
@autobind
private erait(msg: Message): boolean {
const match = msg.extractedText.match(/(.+?)たからめて/);
const match = msg.extractedText.match(/(.+?)たから(褒|ほ)めて/);
if (match) {
msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name)));
return true;
}
const match2 = msg.extractedText.match(/(.+?)るからめて/);
const match2 = msg.extractedText.match(/(.+?)るから(褒|ほ)めて/);
if (match2) {
msg.reply(getSerif(serifs.core.erait.specify(match[1], msg.friend.name)));
return true;