Closed Anonymous0perator closed 6 years ago
To get their role name you would do something like
const roleName = await rbx.getRankNameInGroup(groupId, await rbx.getIdFromUsername(username));
How to then set their nickname depends on the discord library you are using and is your responsibility to figure out.
For a example, A is a VIP in the group 4837. So I’m trying to name A like “[VIP] A” like that, I have no idea how to get role and nick that user by rank