List all the roles in a server.
Retrieve all roles from a specific Discord server.
Run this query
To run this query, you can use the following command:
anyquery run list_all_the_roles_in_a_server
Arguments
Guild ID
The ID of the guild (server) to fetch roles from
Additional informations
Source code AuthorTip
You can export the result of the answer to different formats (JSON, CSV, Markdown, etc.). Just pass the --format flag to the command. See all the formats available here.