Hi, Today I found this awesome extansion I tried to use it. I implemented it in my codes Here's my problem: I want to get a message from a friend so I did:
advFriend.on('friendMessage', function(steamID, message) {
console.log("Friend message from " + steamID.getSteam3RenderedID() + ": " + message);
});
But when I send message to my bot, nothing appears in my console. Here's how I defined it before:
// Requiresvar Steam = require("steam"),SteamGroups = require("steam-groups"),storage = require('node-persist'),util = require("util"),fs = require("fs"),csgo = require("../"),readlineSync = require("readline-sync"),crypto = require("crypto"),AdvSteamUser = require('steam-user'); // Objectsvar bot = new Steam.SteamClient(),steamUser = new Steam.SteamUser(bot),steamFriends = new Steam.SteamFriends(bot),steamGroup = new SteamGroups(bot),steamGC = new Steam.SteamGameCoordinator(bot, 730),CSGOCli = new csgo.CSGOClient(steamUser, steamGC, false),advFriend = new AdvSteamUser(),I can't find the error. I tried several times and solutions. I don't know from where it comes N.B : I don't have any error reports in my console