Jump to content
McKay Development

Recommended Posts

Posted
function kick (){
	community.getGroupMembers('GROUPID', function(err, members) {
		community.kickGroupMember('USERID', function (err) {
			if (err){
				console.log(err);
			} else {
				console.log('Good');
			}
		});
	});
}

Hello. I want to kick some member of group. But i have a this error; 

events.js:136
      throw er; // Unhandled 'error' event
      ^

TypeError: steamID.getSteamID64 is not a function
    at SteamCommunity.kickGroupMember (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\steamcommunity\components\groups.js:431:24)
    at C:\Users\Lenovo\Desktop\Yeni klasör\blue.js:241:13
    at C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\steamcommunity\components\groups.js:63:5
    at Parser.<anonymous> (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\xml2js\lib\parser.js:303:18)
    at Parser.emit (events.js:159:13)
    at SAXParser.onclosetag (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\xml2js\lib\parser.js:261:26)
    at emit (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\sax\lib\sax.js:624:35)
    at emitNode (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\sax\lib\sax.js:629:5)
    at closeTag (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\sax\lib\sax.js:889:7)
    at SAXParser.write (C:\Users\Lenovo\Desktop\Yeni klasör\node_modules\sax\lib\sax.js:1436:13)

Can you tell me what i did wrong ?

 

Greetings.

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