mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
Require more love
This commit is contained in:
parent
830d96a57a
commit
fc3ab1ece9
2 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -264,6 +264,8 @@ export default {
|
|||
|
||||
follow: {
|
||||
ok: 'フォローしました!',
|
||||
|
||||
requireMoreLove: 'もう少し仲良くなったらお願いできますか?',
|
||||
|
||||
alreadyFollowed: 'えっ?既にあなたのことはフォローしていますよ!',
|
||||
|
||||
|
|
Loading…
Reference in a new issue