Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Accept friend #53

Closed
maxibaby opened this issue Mar 5, 2014 · 6 comments
Closed

Accept friend #53

maxibaby opened this issue Mar 5, 2014 · 6 comments

Comments

@maxibaby
Copy link

maxibaby commented Mar 5, 2014

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

@bontscho
Copy link

bontscho commented Mar 6, 2014

@maxibaby
Copy link
Author

maxibaby commented Mar 6, 2014

Yea thanks, my question is that i didnt know

2 == steam.EFriendRelationship.PendingInvitee

@seishun
Copy link
Owner

seishun commented Mar 6, 2014

I suppose this has been solved?

@maxibaby
Copy link
Author

maxibaby commented Mar 6, 2014

Yep

@maxibaby maxibaby closed this as completed Mar 6, 2014
@trader514
Copy link

@andrewda
Copy link

andrewda commented Jul 5, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants