This commit is contained in:
syuilo 2018-08-28 13:38:39 +09:00 committed by GitHub
parent 65d8234afe
commit 395d3c573f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {