Skip to main content
Module

x/discordeno/helpers/mod.ts>leaveGuild

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

Leaves a guild.

Parameters

bot: Bot
  • The bot instance used to make the request
guildId: BigString
  • The ID of the guild to leave.

Returns

Promise<void>