mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-08-04 23:13:54 +09:00
こんにちはサポート
This commit is contained in:
@ -120,6 +120,18 @@ export default class CoreModule implements IModule {
|
||||
msg.friend.incLove();
|
||||
};
|
||||
|
||||
if (msg.text.includes('こんにちは')) {
|
||||
if (msg.friend.name) {
|
||||
msg.reply(serifs.core.helloWithName.replace('{name}', msg.friend.name));
|
||||
} else {
|
||||
msg.reply(serifs.core.hello);
|
||||
}
|
||||
|
||||
incLove();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
if (msg.text.includes('おはよ')) {
|
||||
if (msg.friend.name) {
|
||||
msg.reply(serifs.core.goodMorningWithName.replace('{name}', msg.friend.name));
|
||||
|
Reference in New Issue
Block a user