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
ulongID of the role to get.
Returns
- DiscordRole
Requested role.