Cipher Posted June 11, 2023 Report Share Posted June 11, 2023 The github page states that using "friendMessage" as an event like below: client.on('friendMessage', (sender, msg) => { Console.log(msg); }); is deprecated, I could not find any alternative. I also searched the "SteamChatRoomClient" but found nothing. So what should we use instead? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 12, 2023 Report Share Posted June 12, 2023 https://github.com/DoctorMcKay/node-steam-user/wiki/SteamChatRoomClient#friendmessage client.chat.on('friendMessage', (msg) => { console.log(`${msg.steamid_friend} says: ${msg.message}`); }); Quote Link to comment Share on other sites More sharing options...
Cipher Posted June 12, 2023 Author Report Share Posted June 12, 2023 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.