RestCord logo RestCord

modifyGuildChannelPositions

$client->guild->modifyGuildChannelPositions($parameters);

Description

Modify the positions of a set of channel objects for the guild. Requires 'MANAGE_CHANNELS' permission. Fires multiple Channel Update Gateway events.

Parameters

Name Type Required Default
guild.id snowflake true null
id snowflake false null
position integer false null

Response

Returns a list of all of the guild's channel objects on success.

Can Return: