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:https://github.com/seishun/node-stea...ster/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