mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 05:08:00 +00:00
Improve AI
This commit is contained in:
parent
eb6c1021e9
commit
4e8cae7b90
|
@ -119,7 +119,7 @@ export default class CoreModule implements IModule {
|
||||||
msg.friend.incLove();
|
msg.friend.incLove();
|
||||||
};
|
};
|
||||||
|
|
||||||
if (msg.text.includes('おはよう')) {
|
if (msg.text.includes('おはよう') || msg.text.includes('おはよ')) {
|
||||||
if (msg.friend.name) {
|
if (msg.friend.name) {
|
||||||
msg.reply(serifs.core.goodMorningWithName.replace('{name}', msg.friend.name));
|
msg.reply(serifs.core.goodMorningWithName.replace('{name}', msg.friend.name));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue