Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function editChannel
import { editChannel } from "https://deno.land/x/discordeno@18.0.1/template/beginner/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.