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 204 empty response on success.