This commit is contained in:
syuilo
2018-12-03 17:20:15 +09:00
parent 990cd7ccd2
commit 8886a24f16
2 changed files with 8 additions and 6 deletions

View File

@ -17,11 +17,11 @@ export default class FollowModule implements IModule {
userId: msg.userId,
});
return {
reaction: 'like'
reaction: msg.friend.love >= 0 ? 'like' : null
};
} else {
return {
reaction: 'hmm'
reaction: msg.friend.love >= 0 ? 'hmm' : null
};
}
} else {