Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wackford/discordeno.ts>createInvite

The wackiest Discord bot framework for Deno powered by Discordeno
Latest
function createInvite
import { createInvite } from "https://deno.land/x/wackford@v0.0.6/discordeno.ts";

Creates an invite to a channel in a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel to create the invite to.
optional
options: CreateChannelInvite = [UNSUPPORTED]
  • The parameters for the creation of the invite.

Returns

Promise<BaseInvite>

An instance of the created BaseInvite | Invite.