mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
fix bugs
This commit is contained in:
parent
6a3f7dc8a2
commit
11a22f3901
1 changed files with 12 additions and 13 deletions
|
@ -18,8 +18,6 @@ export default class FollowModule implements IModule {
|
|||
userId: msg.userId,
|
||||
}).then(u => {
|
||||
user = u;
|
||||
});
|
||||
|
||||
if (user.isFollowing) {
|
||||
msg.reply(serifs.follow.alreadyFollowed);
|
||||
} else if (msg.friend.love < -5) {
|
||||
|
@ -32,6 +30,7 @@ export default class FollowModule implements IModule {
|
|||
});
|
||||
msg.reply(serifs.follow.ok);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue