Kord Extensions Help

Basic

You can directly set some basic configuration options by modifying their variables.

Properties

Name

Default

Description

constructor

::ExtensibleBot

If you've created your own bot type extending ExtensibleBot, provide its constructor here, and it'll be used instead of the default implementation.

koinLogLevel

ERROR

The logging level Koin should use.

Properties (v2)

Name

Default

Description

dataCollectionMode

Standard

Represents your bot's data collection mode. This is normally set automatically by the KordEx Gradle plugin.

You can set this manually or let Kord Extensions figure it out for you based on the following rules:

  • Check the value of the dataCollection property.

  • Check the value of the DATA_COLLECTION environmental variable.

  • Check the value of the settings.dataCollection property in your bot's kordex.properties resource file, generated by the KordEx Gradle plugin.

All checked values must be one of: extra, standard, minimal, or none.

devMode

false

Represents whether your bot is running in development mode. You can set this manually or let Kord Extensions figure it out for you based on the following rules:

  • Check whether the devMode property is set.

  • Check whether the DEV_MODE environmental variable is set.

  • Check whether the ENVIRONMENT environmental variable is set to dev or development.

Last modified: 03 September 2024