Invite

Get Invite

GetAPIInvite

Returns an invite object for the given code.

import { getInvite } from "dressed";
const invite = await getInvite(code, params?);

Delete Invite

DeleteAPIInvite

Delete an invite.

import { deleteInvite } from "dressed";
await deleteInvite(code);
Info

Requires the MANAGE_CHANNELS permission on the channel this invite belongs to, or MANAGE_GUILD to remove any invite across the guild.