Closed unix-system closed 7 years ago
I just tested this right before and it is definitely working fine. Please show how you exactly you are using the function.
rbx.handleJoinRequest(1180892,username,true).then(function(promiseData) { // Sort of secret code occurring here. }).catch(function(err) { console.error(err.stack); });
That is my exact code. Again, the account is logged in properly and has full permissions.
I simply cannot replicate the error. Please contact me on discord to continue this discussion: Froast#5132
Please confirm whether or not version 4.0.1 fixes this.
Exact error:
Error: Invalid permissions, make sure the user is in the group and is allowed to handle join requests at path\node_modules\roblox-js\lib\util\handleJoinRequestId.js:29:13 at tryCatcher (path\node_modules\bluebird\js\release\util.js:16:23)
I know for a fact that sending PMs, promotion, and all other functions I have tried so far relating to groups and the account (which is ranked in the target group with join request roles, as I am able to get pending join requests) has no permissions error.
Perhaps an API change?