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

x/oasis/packages/deps.ts>editWidget

An object oriented Discordeno framework
Latest
function editWidget
import { editWidget } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Modify a guild widget object for the guild. Requires the MANAGE_GUILD permission.

Parameters

bot: Bot
guildId: bigint
enabled: boolean
optional
channelId: string | null