Improve AI

This commit is contained in:
syuilo 2018-09-01 22:50:50 +09:00
parent c8b5d22a10
commit 0bedfc0f0c

View file

@ -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;