Method GetVanityInviteAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetVanityInviteAsync()
Gets the vanity invite for this guild.
public Task<DiscordInvite> GetVanityInviteAsync()
Returns
- Task<DiscordInvite>
A partial vanity invite.
Exceptions
- UnauthorizedException
Thrown when the client does not have the ManageGuild permission.
- ServerErrorException
Thrown when Discord is unable to process the request.