import { Invite } from "https://deno.land/x/harmony@v2.6.0/src/structures/invite.ts";
Constructors
Properties
Timestamp (Date) when Invite was created. This is an Invite Metadata property (not always available)
Timestamp (string) when Invite was created. This is an Invite Metadata property (not always available)
Max age of the Invite in seconds. This is an Invite Metadata property (not always available)
Max number of times this Invite can be used. This is an Invite Metadata property (not always available)
Whether Invite is temporary or not. This is an Invite Metadata property (not always available)
Methods
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.