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

enableTyping

@NotNull open fun enableTyping(sendTyping: Boolean): @NotNull CommandClientBuilder

Lets the bot send typing before executing a command.

Parameters

sendTyping - Boolean: Whether this should get enabled or not

Exceptions

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

Return
CommandClientBuilder: the CommandClientBuilder

See Also
MessageChannel#sendTyping()