Interface IPositionableChannelManager<T extends IPositionableChannel,​M extends IPositionableChannelManager<T,​M>>

    • Method Detail

      • setPosition

        @Nonnull
        @CheckReturnValue
        M setPosition​(int position)
        Sets the position of the selected GuildChannel.

        To modify multiple channels you should use Guild.modifyTextChannelPositions() instead! This is not the same as looping through channels and using this to update positions!

        Parameters:
        position - The new position for the selected GuildChannel
        Returns:
        ChannelManager for chaining convenience