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
c8b5d22a10
commit
0bedfc0f0c
|
@ -129,13 +129,13 @@ export default class CoreModule implements IModule {
|
||||||
//#endregion
|
//#endregion
|
||||||
};
|
};
|
||||||
|
|
||||||
if (includes(msg.text, ['こんにちは'])) {
|
if (includes(msg.text, ['こんにちは', 'こんにちわ'])) {
|
||||||
msg.reply(serifs.core.hello(msg.friend.name));
|
msg.reply(serifs.core.hello(msg.friend.name));
|
||||||
incLove();
|
incLove();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (includes(msg.text, ['こんばんは'])) {
|
if (includes(msg.text, ['こんばんは', 'こんばんわ'])) {
|
||||||
msg.reply(serifs.core.helloNight(msg.friend.name));
|
msg.reply(serifs.core.helloNight(msg.friend.name));
|
||||||
incLove();
|
incLove();
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue