Skip to main content
Manage the active database connection and synchronize configuration changes across your system instantly. This page covers how to inspect the current database settings and persist or refresh configuration data using the AeroDesk API.
Remember to call saveConfig() after making direct modifications via the API. Without saving, your changes may be lost when the bot restarts.

Check Active Database

Use the following call to determine which database backend is currently active. The method returns a string such as "MySQL", "SQLite", or "MongoDB".

Retrieve Database Host

To inspect the configured database host, access the host field on the database configuration object.

Save Config Changes

After editing configuration values through the API, call saveConfig() to write the updated state back to the database or YAML file.

Reload Config

If external changes have been made to the database or configuration store, force the bot to pull fresh data by reloading the config.