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