Get Guild Roles.md 389 B


title: Get Guild Roles category: Guild

order: 19

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:

  • role