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