Yamako Posted December 1, 2019 Report Posted December 1, 2019 (edited) i have googling from about 2hour, and no luck... so i make a account just to ask this i have this client.on("friendOrChatMessage", function(steamID, message,room) { console.log(room) console.log("Friend message from " + steamID+ ": " + message); if (message == "Ping") { client.chatMessage(steamID, "Pong"); console.log("Send back: Pong"); } else { client.chatMessage(steamID, message); console.log("Send back the standard reply"); } }); but this only trigger from direct message , and the output : SteamID { universe: 1, type: 1, instance: 1, accountid: 16xxxxxx } 3:58 PM Friend message from 76xxxxxxxxxxx38: q 3:58 PM Send back the standard reply 3:58 PM no output when i send message on group Edited December 1, 2019 by Yamako Quote
Dr. McKay Posted December 3, 2019 Report Posted December 3, 2019 https://github.com/DoctorMcKay/node-steam-user#chatmessagerecipient-message-type 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.