swc/crates/swc_bundler/tests/.cache/deno/41828da1aa3eb0a2bae4cab59d51edab03034e24.ts
2021-11-09 20:42:49 +09:00

11 lines
457 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/delete_guild.ts
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.ts";
/** Delete a guild permanently. User must be owner. Returns 204 No Content on success. Fires a Guild Delete Gateway event. */
export async function deleteGuild(guildId: bigint) {
return await rest.runMethod<undefined>("delete", endpoints.GUILDS_BASE(guildId));
}