Skip to main content
Module

x/discordeno/mod.ts>createInvite

Discord API library for Deno
Go to Latest
function createInvite
import { createInvite } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";

Creates a new invite for this channel. Requires CREATE_INSTANT_INVITE

Parameters

bot: Bot
channelId: bigint
optional
options: CreateChannelInvite = [UNSUPPORTED]