Module

x/discordeno/mod.ts>getInvite

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

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

Parameters

bot: Bot
inviteCode: string
optional
options: GetInvite