Jump to content
McKay Development

Recommended Posts

Posted (edited)

After looking through the wiki for the SteamCommunity module I cannot find the method for inviting a user to a group. Can someone please tell me where to find info about it and how to use it.

 

Thanks

 

EDIT: I found where the function is mentioned but it doesn't look like its used how other people are using it as seen here.

Edited by African
Posted
    community.inviteUserToGroup(offer.partner.toString(), config.groupid, (err) => {
        if (err) {
            console.log(err.message)
        } else {
            console.log("I've invited " + offer.partner.toString() + " to our group")
        }
    })

=_= this is my code, edit it a little if you dont understand

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