@NotNull open fun enableDefaultPrefixOverride(alwaysDefaultPrefix: Boolean): @NotNull CommandClientBuilder
Let the bot always accept the default prefix even if there is a custom one.
alwaysDefaultPrefix
- Boolean: whether this should get enabled or not
IllegalStateException
- if the stored CommandClientConfiguration
is a me.schlaubi.regnumutils.command.configuration.ImmutableCommandClientConfiguration
Return
CommandClientBuilder: the CommandClientBuilder
See Also
CommandClientConfiguration#getAlwaysDefaultPrefix()