Skip to main content
Module

x/discordeno/mod.ts>createGuild

Discord API library for Deno
Latest
function createGuild
import { createGuild } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Creates a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
options: CreateGuild
  • The parameters for the creation of the guild.

Returns

Promise<Guild>

An instance of the created Guild.