mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 23:48:01 +00:00
More home
This commit is contained in:
parent
5f87d8517d
commit
ec4f35185d
|
@ -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(match2[1], msg.friend.name)));
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue