Jump to content


Photo
Question

Steam group



  • Please log in to reply
No replies to this topic

#1 RedyyPT

RedyyPT

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 04 August 2018 - 08:18 AM

For example, I'm trying something to do when someone does the "!members" command that shows how many members I have in my group

 

Code: 

 

client.on("friendMessage", function(steamID, message) {
if (message == "!membros"){
client.chatMessage(steamID, "O nosso grupo tem neste momento:");
steamgroup.getstats("Chead-CSGO-Community", function(err, totalmembers){
})
}});
 
Is it right? is that when I give the command "!members" only the message appears and not the members






Also tagged with one or more of these keywords: Question

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users