Instance Method

modifyChannelPositions(for:with:then:)

Modifies channel positions from a guild

Declaration

func modifyChannelPositions(for guildId: Snowflake, with options: [[String : Any]], then completion: (([GuildChannel]?, RequestError?) -> Void)? = nil)

Parameters

guildId

Guild to modify channel positions from

options

Preconfigured options to set channel positions to

Options Params

Array of the following:

  • id: The channel id to modify

  • position: The sorting position of the channel