how to accept a friend request? #610
da02f73f5c2069eaad50efb50d7ae94f
started this conversation in
General
Replies: 2 comments 1 reply
-
Sorry but I suggest you to learn basic of Javascript, so you will know how to do with this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
client.on("relationshipAdd", userid => {
const user = await client.users.fetch(userid)
user.sendFriendRequest()
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
client.addFriend(user)
is not a functionRelationshipManager.addFriend(user)
is not a functionBeta Was this translation helpful? Give feedback.
All reactions