Nostrum.Api.get_guild_roles

You're seeing just the function get_guild_roles, go back to Nostrum.Api module for more information.
Link to this function

get_guild_roles(guild_id)

View Source

Specs

get_guild_roles(Nostrum.Struct.Guild.id()) ::
  error() | {:ok, [Nostrum.Struct.Guild.Role.t()]}

Gets a guild's roles.

If successful, returns {:ok, roles}. Otherwise, returns a Nostrum.Api.error/0.

Examples

Nostrum.Api.get_guild_roles(147362948571673)