This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Accept friend #53
Comments
enums are listed here: https://github.com/seishun/node-steam/blob/master/lib/generated/steam_language.js |
Yea thanks, my question is that i didnt know 2 == steam.EFriendRelationship.PendingInvitee |
I suppose this has been solved? |
Yep |
sorry but the https://github.com/seishun/node-steam/blob/master/lib/generated/steam_language.js page is not found |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, i dont understand something
'friend'
SteamID of the user
EFriendRelationship
Some activity in your friend list. For example, EFriendRelationship.PendingInvitee means you got a friend invite, EFriendRelationship.None means you got removed. The friends property is updated after this event is emitted.
I've done this :
bot.on('friend', function (SteamID, Relation){
if (Relation == 2){
bot.addFriend(SteamID);
console.log(SteamID + " Accepted")
}
});
Witch auto accept invites, but how do i see those EFriendRelationship.PendingInvitee
EFriendRelationship.None
or What's the sintax, i dont get it
The text was updated successfully, but these errors were encountered: