@CheckReturnValue
    public ChannelAction createVoiceChannel(String name)
    {
        checkPermission(Permission.MANAGE_CHANNEL);
        Checks.notBlank(name, "Name");
        name = name.trim();

        Checks.check(name.length() > 0 && name.length() <= 100, "Provided name must be 1 - 100 characters in length");

        Route.CompiledRoute route = Route.Guilds.CREATE_CHANNEL.compile(getGuild().getId());
        return new ChannelAction(route, name, getGuild(), ChannelType.VOICE);
    }
@ CheckReturnValue public ChannelAction createVoiceChannel ( String name ) { checkPermission ( Permission . MANAGE_CHANNEL ) ; Checks . notBlank ( name , "Name" ) ; name = name . trim ( ) ; Checks . check ( name . length ( ) > 0 && name . length ( ) <= 100 , "Provided name must be 1 - 100 characters in length" ) ; Route . CompiledRoute route = Route . Guilds . CREATE_CHANNEL . compile ( getGuild ( ) . getId ( ) ) ; return new ChannelAction ( route , name , getGuild ( ) , ChannelType . VOICE ) ; }
Creates a new {@link net.dv8tion.jda.core.entities.VoiceChannel VoiceChannel} in this Guild.
For this to be successful, the logged in account has to have the {@link net.dv8tion.jda.core.Permission#MANAGE_CHANNEL MANAGE_CHANNEL} Permission.

<p>Possible {@link net.dv8tion.jda.core.requests.ErrorResponse ErrorResponses} caused by
the returned {@link net.dv8tion.jda.core.requests.RestAction RestAction} include the following:
<ul>
<li>{@link net.dv8tion.jda.core.requests.ErrorResponse#MISSING_PERMISSIONS MISSING_PERMISSIONS}
<br>The channel could not be created due to a permission discrepancy</li>

<li>{@link net.dv8tion.jda.core.requests.ErrorResponse#MISSING_ACCESS MISSING_ACCESS}
<br>We were removed from the Guild before finishing the task</li>
</ul>

@param  name
The name of the VoiceChannel to create

@throws net.dv8tion.jda.core.exceptions.InsufficientPermissionException
If the logged in account does not have the {@link net.dv8tion.jda.core.Permission#MANAGE_CHANNEL} permission
@throws IllegalArgumentException
If the provided name is {@code null} or empty or greater than 100 characters in length

@return A specific {@link net.dv8tion.jda.core.requests.restaction.ChannelAction ChannelAction}
<br>This action allows to set fields for the new VoiceChannel before creating it