Require more love

This commit is contained in:
Xeltica 2018-12-02 23:25:20 +09:00
parent 830d96a57a
commit fc3ab1ece9
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,8 @@ export default class FollowModule implements IModule {
msg.reply(serifs.follow.alreadyFollowed);
} else if (msg.friend.love < -5) {
msg.reply(serifs.follow.ng);
} else if (msg.friend.love < 3) {
msg.reply(serifs.follow.requireMoreLove);
} else {
this.ai.api("following/create", {
userId: msg.userId,

View file

@ -264,6 +264,8 @@ export default {
follow: {
ok: 'フォローしました!',
requireMoreLove: 'もう少し仲良くなったらお願いできますか?',
alreadyFollowed: 'えっ?既にあなたのことはフォローしていますよ!',