PonyExpress
-
Posts
61 -
Joined
-
Last visited
Community Answers
-
PonyExpress's post in Accept friend request sent in offline was marked as the answer
client.on("webSession", (sessionID, cookies) => {
for (let i = 0; i < Object.keys(client.myFriends).length; i++) {
if (client.myFriends[Object.keys(client.myFriends)[i]] == 2) {
client.addFriend(Object.keys(client.myFriends)[i]);
}
}
});