@NotNull open fun addBotOwners(vararg botOwnerIds: Long!): @NotNull CommandClientBuilder
Adds bot owners.
botOwnerIds
- Long!: the ids of the bot owners
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.
botOwnerIds
- MutableCollection<Long!>!: a Collection
of the ids of the bot owners
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