Jump to content


Photo
Question

Bulk Messaging with Friends (Announce Bot)

node.js node-steam-user

  • Please log in to reply
3 replies to this topic

#1 Cool Guy

Cool Guy

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 08 March 2018 - 08:32 AM

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's

Any ideas ?



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,652 posts

Posted 09 March 2018 - 12:50 AM

Probably because you're using some when you mean to use forEach. And also Steam probably has a chat message rate-limit.



#3 Cool Guy

Cool Guy

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 09 March 2018 - 08:05 AM

I also tried forEach but it didnt work neither



#4 Cool Guy

Cool Guy

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 09 March 2018 - 08:07 AM

There is some steam announcement programs out there and they works well but i dont know why mine not







Also tagged with one or more of these keywords: Question, node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users