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

setOwners

@NotNull open fun setOwners(owners: MutableList<Long!>!): @NotNull CommandClientBuilder

Sets the list of bot owners.

Parameters

owners - MutableList<Long!>!: a List containing all bot owner ids

Exceptions

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

Return
CommandClientBuilder: the CommandClientBuilder

See Also
CommandClientConfiguration#getOwners()