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

sendTyping

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

Sets whether the bot should send typing before it parses commands or not.

Parameters

sendTyping - Boolean: whether the bot should send typing before it parses commands or not.

Exceptions

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

Return
CommandClientBuilder: the CommandClientBuilder

See Also
CommandClientConfiguration#getSendTyping()