Jump to content
McKay Development

PROBLEMS USING inviteToGroup


Mr_wall1122

Recommended Posts

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

Link to comment
Share on other sites

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...