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 Author

Tip

The anyquery run command automatically installs the required plugins for the query to run. You can also install the plugins manually using the anyquery install command.