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

x/discordeno/helpers/channels/mod.ts>editChannel

Discord API library for Deno
Extremely Popular
Go to Latest
function editChannel
import { editChannel } from "https://deno.land/x/discordeno@17.0.0/helpers/channels/mod.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.