Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/invites/mod.ts

Discord API library for Deno
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/invites/mod.ts";

Functions

Creates a new invite for this channel. Requires CREATE_INSTANT_INVITE

Deletes an invite for the given code. Requires MANAGE_CHANNELS or MANAGE_GUILD permission

Gets the invites for this channel. Requires MANAGE_CHANNEL

Returns an invite for the given code or throws an error if the invite doesn't exists.

Get all the invites for this guild. Requires MANAGE_GUILD permission