I'm making a setrank command for my group, and when i say !setrank player rank I would need "rank" as the id not the name of the role. So if I run !setrank bob admin then it would find admin in the group roles and get the id for that role. then it would print the id.
COMMUNITY QUESTION
Is it possible to get a role id from the rank name?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
When I run !setrank bob admin i want it to print the id of the admin role in the group (sorry im just making it clear)
You can edit your question.
As far as I no the answer is no.
actually yes you can, use a proxy api and then iterate through the response till you get to the admin role and then the rank is there.