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

addBotOwners

@NotNull open fun addBotOwners(vararg botOwnerIds: Long!): @NotNull CommandClientBuilder

Adds bot owners.

Parameters

botOwnerIds - Long!: the ids of the bot owners

Exceptions

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

Return
CommandClientBuilder: the CommandClientBuilder

See Also
CommandClientConfiguration#getOwners()me.schlaubi.regnumutils.command.spi.permission.DefaultPermissionHandler

@NotNull open fun addBotOwners(botOwnerIds: MutableCollection<Long!>!): @NotNull CommandClientBuilder

Adds bot owners.

Parameters

botOwnerIds - MutableCollection<Long!>!: a Collection of the ids of the bot owners

Exceptions

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

Return
CommandClientBuilder: the CommandClientBuilder

See Also
CommandClientConfiguration#getOwners()me.schlaubi.regnumutils.command.spi.permission.DefaultPermissionHandler