mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 08:47:21 +09:00
Improve readability
This commit is contained in:
parent
114725d7f4
commit
64d197eeed
@ -132,7 +132,9 @@ export default class CoreModule implements IModule {
|
|||||||
incLove();
|
incLove();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} else if (msg.text.includes('おやすみ')) {
|
}
|
||||||
|
|
||||||
|
if (msg.text.includes('おやすみ')) {
|
||||||
if (msg.friend.name) {
|
if (msg.friend.name) {
|
||||||
msg.reply(serifs.core.goodNightWithName.replace('{name}', msg.friend.name));
|
msg.reply(serifs.core.goodNightWithName.replace('{name}', msg.friend.name));
|
||||||
} else {
|
} else {
|
||||||
@ -142,9 +144,9 @@ export default class CoreModule implements IModule {
|
|||||||
incLove();
|
incLove();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private nadenade = (msg: MessageLike): boolean => {
|
private nadenade = (msg: MessageLike): boolean => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user