Jump to content
McKay Development

Search the Community

Showing results for tags 'GetPersonas'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Releases & Updates
  • Help & Support
    • General
    • Guides
    • node-steam-user
    • node-steamcommunity
    • node-steam-tradeoffer-manager
    • node-steam-session

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Location


Interests

Found 1 result

  1. Hello, I am trying to make my bot say people's names, and then a welcome message. But currently with the code that I got, it only says "NaN Hello, I am a generous Trading Bot, I would love to trade with you, but I am currently in maintenance mode. Check back later.". I do not know why it says NaN, instead of the user's name. My current code looks like this client.on("friendRelationship", (SENDER, REL) => { client.getPersonas([client.steamID], (personas) => { if (REL === 2) { client.addFriend(SENDER); } else if (REL === 3) { if (CONFIG.INVITETOGROUPID) { client.inviteToGroup(SENDER, CONFIG.INVITETOGROUPID); } client.chatMessage(SENDER, + personas + CONFIG.MESSAGES.WELCOME); } }); });
×
×
  • Create New...