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 also run local queries using the anyquery run command. Just pass the path to the query file as an argument (e.g. anyquery run path/to/query.sql).