Method GetInvitesAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetInvitesAsync()
Gets all the invites created for all the channels in this guild.
public Task<IReadOnlyList<DiscordInvite>> GetInvitesAsync()
Returns
- Task<IReadOnlyList<DiscordInvite>>
A collection of invites.
Exceptions
- ServerErrorException
Thrown when Discord is unable to process the request.