common / me.schlaubi.regnumutils.command / CommandClientBuilder / setPrefix

setPrefix

@NotNull open fun setPrefix(prefix: String!): @NotNull CommandClientBuilder

Sets the default prefix.

Parameters

prefix - String!: the prefix

Exceptions

IllegalStateException - if the stored CommandClientConfiguration is a me.schlaubi.regnumutils.command.configuration.ImmutableCommandClientConfiguration

Return
CommandClientBuilder: the CommandClientBuilder

See Also
CommandClientConfiguration#getDefaultPrefix()