Class ServerVoiceChannelUpdater

    • Constructor Detail

      • ServerVoiceChannelUpdater

        public ServerVoiceChannelUpdater​(ServerVoiceChannel channel)
        Creates a new server voice channel updater.
        Parameters:
        channel - The channel to update.
    • Method Detail

      • setBitrate

        public ServerVoiceChannelUpdater setBitrate​(int bitrate)
        Queues the bitrate to be updated.
        Parameters:
        bitrate - The new bitrate of the channel.
        Returns:
        The current instance in order to chain call methods.
      • setUserLimit

        public ServerVoiceChannelUpdater setUserLimit​(int userLimit)
        Queues the user limit to be updated.
        Parameters:
        userLimit - The new user limit of the channel.
        Returns:
        The current instance in order to chain call methods.
      • removeUserLimit

        public ServerVoiceChannelUpdater removeUserLimit()
        Queues the user limit to be removed.
        Returns:
        The current instance in order to chain call methods.
      • setCategory

        public ServerVoiceChannelUpdater setCategory​(ChannelCategory category)
        Queues the category to be updated.
        Parameters:
        category - The new category of the channel.
        Returns:
        The current instance in order to chain call methods.
      • removeCategory

        public ServerVoiceChannelUpdater removeCategory()
        Queues the category to be removed.
        Returns:
        The current instance in order to chain call methods.