RestCord logo RestCord

getGuildRoles

$client->guild->getGuildRoles($parameters);

Description

Requires the 'MANAGE_ROLES' permission.

Parameters

Name Type Required Default
guild.id snowflake true null

Response

Returns a list of role objects for the guild.

Can Return: