Jump to content
McKay Development

Recommended Posts

Posted

hello, this is my code

 

client.on("friendMessage", function(steamID, message){

             if(message == "!group" || message == "!Group"){

                client..inviteToGroup(steamID, config.groupid);

             }

});

 

i get no errors when running my code but when i type !group to my test bot it doesnt give any errors and does not invite me to the group i specified in the config (yes i used the group ID number which is 30012005)

sorry for any formating problems i manualy typed this because the code is on my raspberry pi 3, where all my other bots are stored and run.

 

post-1414-0-65738200-1500989062_thumb.png

Posted (edited)

if anyone else if having problems with this i have the solution use your steam group id 64, to do that go to your groups page and add "/memberslistxml/?xml=" to the end and then copy the group id from the top

Edited by Mr_wall1122

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...