Pheeko
Active Member
When I try to retrieve ServerGroup permission list it prompts with this error:
Methods id() and name() works perfectly.
The others like: icon() and getPermissions() returns same error:
Here's the code.
What am I doing wrong?
Thanks in advance.
Error in script (event chat): TypeError: 'getPermissions' is not a function
Methods id() and name() works perfectly.
The others like: icon() and getPermissions() returns same error:
Here's the code.
var raw_groups = ev.client.getServerGroups();
raw_groups.forEach(function(e){
engine.log(e.getPermissions());
});
What am I doing wrong?
Thanks in advance.