mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 13:17:59 +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();
|
msg.friend.incLove();
|
||||||
};
|
};
|
||||||
|
|
||||||
if (msg.text.includes('おはよう') || msg.text.includes('おはよ')) {
|
if (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