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);
}
});
});