Skip to main content
Module

x/harmony/mod.ts>Invite#delete

An easy to use Discord API Library for Deno.
Go to Latest
method Invite.prototype.delete
Re-export
import { Invite } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Delete an invite. Requires the MANAGE_CHANNELS permission on the channel this invite belongs to, or MANAGE_GUILD to remove any invite across the guild. Returns an invite object on success. Fires a Invite Delete Gateway event.

Returns

Promise<Invite>