Cipher Posted June 11, 2023 Report 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
Dr. McKay Posted June 12, 2023 Report 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
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.