@NotNull open fun enableOwnerPermissions(ownerPermission: Boolean): @NotNull CommandClientBuilder
Sets whether the owner should be allowed to execute all commands or not.
ownerPermission
- Boolean: whether the owner should be allowed to execute all commands or not.
IllegalStateException
- if the stored CommandClientConfiguration
is a me.schlaubi.regnumutils.command.configuration.ImmutableCommandClientConfiguration
Return
CommandClientBuilder: the CommandClientBuilder
See Also
CommandClientConfiguration#getAcceptMentionPrefix()