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

x/discordeno/mod.ts>createGuild

Discord API library for Deno
Go to Latest
function createGuild
import { createGuild } from "https://deno.land/x/discordeno@17.2.0/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.