Class ServerVoiceChannelBuilder



  • public class ServerVoiceChannelBuilder
    extends ServerChannelBuilder
    This class is used to create new server voice channels.
    • Constructor Detail

      • ServerVoiceChannelBuilder

        public ServerVoiceChannelBuilder​(Server server)
        Creates a new server text channel builder.
        Parameters:
        server - The server of the server text channel.
    • Method Detail

      • setCategory

        public ServerVoiceChannelBuilder setCategory​(ChannelCategory category)
        Sets the category of the channel.
        Parameters:
        category - The category of the channel.
        Returns:
        The current instance in order to chain call methods.
      • setBitrate

        public ServerVoiceChannelBuilder setBitrate​(int bitrate)
        Sets the bitrate of the channel.
        Parameters:
        bitrate - The bitrate of the channel.
        Returns:
        The current instance in order to chain call methods.
      • setUserlimit

        public ServerVoiceChannelBuilder setUserlimit​(int userlimit)
        Sets the user limit of the channel.
        Parameters:
        userlimit - The user limit of the channel.
        Returns:
        The current instance in order to chain call methods.