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

x/discordeno/packages/embeds/deps.ts>editChannel

Discord API library for Deno
Go to Latest
function editChannel
import { editChannel } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/deps.ts";

Edits a channel's settings.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel to edit.
options: ModifyChannel
  • The parameters for the edit of the channel.

Returns

Promise<Channel>

An instance of the edited Channel.