mirror of
https://github.com/syuilo/ai.git
synced 2024-11-12 17: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
|
||||
};
|
||||
|
||||
if (includes(msg.text, ['こんにちは'])) {
|
||||
if (includes(msg.text, ['こんにちは', 'こんにちわ'])) {
|
||||
msg.reply(serifs.core.hello(msg.friend.name));
|
||||
incLove();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (includes(msg.text, ['こんばんは'])) {
|
||||
if (includes(msg.text, ['こんばんは', 'こんばんわ'])) {
|
||||
msg.reply(serifs.core.helloNight(msg.friend.name));
|
||||
incLove();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue