mirror of
https://github.com/syuilo/ai.git
synced 2024-12-22 08:21:08 +00:00
Refactor
This commit is contained in:
parent
65d8234afe
commit
395d3c573f
|
@ -122,7 +122,7 @@ export default class CoreModule implements IModule {
|
|||
msg.friend.incLove();
|
||||
};
|
||||
|
||||
if (msg.text.includes('おはよう') || msg.text.includes('おはよ')) {
|
||||
if (msg.text.includes('おはよ')) {
|
||||
if (msg.friend.name) {
|
||||
msg.reply(serifs.core.goodMorningWithName.replace('{name}', msg.friend.name));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue