Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function editChannelPositions
import { editChannelPositions } from "https://deno.land/x/discordeno@17.0.0/helpers/channels/mod.ts";

Edits the positions of a set of channels in a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild in which to edit the positions of the channels.
channelPositions: ModifyGuildChannelPositions[]
  • A set of objects defining the updated positions of the channels.

Returns

Promise<void>