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

x/natico/examples/deps.ts>editChannelOverwrite

A powerful and customizable framework for Discordeno
Latest
function editChannelOverwrite
import { editChannelOverwrite } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Edit the channel permission overwrites for a user or role in this channel. Requires MANAGE_ROLES permission.

Parameters

bot: Bot
channelId: bigint
overwriteId: bigint
options: Omit<Overwrite, "id">