Jump to content
McKay Development

Poketz

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Poketz

  1. Is their a counterpart within steam-user to allow the removal of a member of a group?

     

    For context - I have a clan of 100+ CS:GO players and we're currently using the bot to fetch the ranks of each member and invite them to a rank-based sub-group.

     

    Over time their rank has the potential too change and as a result they'll need removing from the old group and inviting to a new one. I've written code to this effect but can't find a removeFromGroup(userSteamID, groupSteamID)

     

    I accept I may need to code something myself but don't want to reinvent the wheel.  Also given how comprehnsive steam-user is.. if it has been ommited I suspect their may be a valid reason I should be aware of before embarking on my own effort.

  2. Firstly, thanks for the great work on steam-user. It's great.

     

    I'm having some issues with getting my friends list, having read the docs I understand it can be accessed via myFriends.

     

    I've tried the following but it keeps returning undefined.

     

     

    function getMyFriends(callback) {
        if(err)
            return callback(err);
        if(!user.myFriends)
            callback(null,user.myFriends)
    }

     

    What event do I need to wait for to ensure it holds something?

×
×
  • Create New...