Table of Contents

Method GetInvitesAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.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.