Menu
So, I’m trying to make a bot for steam and I need it so that when a player goes offline it removes them as a friend unless their name is Conway220.
I’m using this to get the nodes:[url]https://github.com/seishun/node-steam/blob/master/README.md
And it should be similar to this, except the opposite with removefriend instead of addfriend.
[CODE]client.on(‘relationship’, function(steamID, relationship) {
if(relationship == steam.EFriendRelationship.PendingInvitee) {
logger.info(‘Accepting friend request from ‘ + steamID);
client.addFriend(steamID);
Thank’s in advanced ?