Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function editChannelPositions
import { editChannelPositions } from "https://deno.land/x/discordeno@17.0.1/helpers/channels/editChannelPositions.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>