1Life1Chance Posted March 23, 2018 Report Posted March 23, 2018 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. Quote
Dr. McKay Posted March 23, 2018 Report Posted March 23, 2018 The first parameter to kickGroupMember needs to be a SteamID object. Quote
Recommended Posts
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.