Table of Contents

Method GetRole

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetRole(ulong)

Gets a role from this guild's cache by its ID.

public DiscordRole? GetRole(ulong id)

Parameters

id ulong

ID of the role to get.

Returns

DiscordRole

Requested role.