Interface ServerVoiceChannelBuilderDelegate

    • Method Detail

      • setBitrate

        void setBitrate​(int bitrate)
        Sets the bitrate of the channel.
        Parameters:
        bitrate - The bitrate of the channel.
      • setUserlimit

        void setUserlimit​(int userlimit)
        Sets the user limit of the channel.
        Parameters:
        userlimit - The user limit of the channel.
      • setCategory

        void setCategory​(ChannelCategory category)
        Sets the category of the channel.
        Parameters:
        category - The category of the channel.
      • create

        java.util.concurrent.CompletableFuture<ServerVoiceChannel> create()
        Creates the server voice channel.
        Returns:
        The created voice channel.