BTextConfig

Properties

Link copied to clipboard
@ConfigurationValue(path = "botcommands.text.dmClosedEmoji", defaultValue = "mailbox_closed", type = "java.lang.String")
abstract val dmClosedEmoji: Emoji

Emoji used to indicate a user that their DMs are closed.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.text.enable", defaultValue = "true")
abstract val enable: Boolean

Whether text commands should be listened for.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.text.isHelpDisabled", defaultValue = "false")
abstract val isHelpDisabled: Boolean

Whether the default help command is disabled. This also disables help content when a user misuses a command.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.text.prefixes")
abstract val prefixes: List<String>

Prefixes the bot should listen to.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.text.showSuggestions", defaultValue = "true")
abstract val showSuggestions: Boolean

Whether command suggestions will be shown when a user tries to use an invalid command.

Link copied to clipboard
@ConfigurationValue(path = "botcommands.text.usePingAsPrefix", defaultValue = "false")
abstract val usePingAsPrefix: Boolean

Whether the bot should look for commands when it is mentioned.