Table of Contents

Method GetInvite

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetInvite(string)

Gets an invite from this guild from an invite code.

public DiscordInvite GetInvite(string code)

Parameters

code string

The invite code

Returns

DiscordInvite

An invite, or null if not in cache.