Cool Guy Posted March 8, 2018 Report Posted March 8, 2018 Hello, Im making a Announce bot on Steam I want to send all my friends a message here is the code i tried: message = "test" Object.keys(client.myFriends).some(r=>{ client.chatMessage(r,"\n" + message); console.log("Message Sended to " + r.toString()) }) Its only sending 3 or 2 guys in friend list and I checked the steamID'sAny ideas ? Quote
Dr. McKay Posted March 9, 2018 Report Posted March 9, 2018 Probably because you're using some when you mean to use forEach. And also Steam probably has a chat message rate-limit. Quote
Cool Guy Posted March 9, 2018 Author Report Posted March 9, 2018 I also tried forEach but it didnt work neither Quote
Cool Guy Posted March 9, 2018 Author Report Posted March 9, 2018 There is some steam announcement programs out there and they works well but i dont know why mine not 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.