Jump to content
McKay Development

Recommended Posts

Posted

Hello. Thank you for reading my post.

I have been scratching my head for a while, trying to figure out a method to find the Steam ID of someone who invites a user to a group.

 client.on("groupRelationship", (sid, relationship) => {
   if (relationship === 2) {
     client.respondToGroupInvite(sid, false);
     console.log("Group invite declined.");
   }
 });
}

Currently, the only way I have managed to do it is by manually searching through the friends list to identify the friend who is in the group, as only friends can send group invites. However, this approach is certainly far from ideal. I would greatly appreciate any suggestions or ideas. Thank you kindly and have a nice day.

  • 3 weeks later...

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