mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 09:07:16 +09: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…
x
Reference in New Issue
Block a user