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

x/discordeno/plugins/cache/deps.ts>editGuild

Discord API library for Deno
Go to Latest
function editGuild
import { editGuild } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

Edits a guild's settings.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild to edit.
options: ModifyGuild
  • The ID of the shard the guild is in.
shardId: number
  • The parameters for the edit of the guild.

Returns

Promise<Guild>

An instance of the edited Guild.