@NotNull open fun acceptMentionPrefix(acceptMentionPrefix: Boolean): @NotNull CommandClientBuilder
Sets whether the bot should accept a mention as a command prefix or not.
acceptMentionPrefix
- Boolean: whether the bot should accept a mention as a command prefix or not
IllegalStateException
- if the stored CommandClientConfiguration
is a me.schlaubi.regnumutils.command.configuration.ImmutableCommandClientConfiguration
Return
CommandClientBuilder: the CommandClientBuilder
See Also
CommandClientConfiguration#getAcceptMentionPrefix()