Method DeleteInviteAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
DeleteInviteAsync(string, string)
Removes an invite
public Task<DiscordInvite> DeleteInviteAsync(string inviteCode, string reason)
Parameters
inviteCode
stringInvite code
reason
stringReason why this invite was removed
Returns
- Task<DiscordInvite>