Table of Contents

Method GetRoleAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetRoleAsync(ulong)

Gets a role from this guild from the api by its ID.

public Task<DiscordRole> GetRoleAsync(ulong id)

Parameters

id ulong

ID of the role to get.

Returns

Task<DiscordRole>

Requested role.