I want to make a command that with a parameter of a role that lists everybody who has that role in a discord server. Is there a way to do this?
If you can get the list of people, you can iterate through the list of players and use playerList[index].roles[index] == "Some Role"
Is there a way to make a command that lists everybody who has a certain role in a discord server?