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.

4 comments

0

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)

0

You can edit your question.

0

As far as I no the answer is no.

0

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.