Closed Tembeon closed 2 months ago
[!TIP] This PR is a part of new system to allow changing commands while bot is active (see #4)
This PR moves all settings to dart controlled classes.
This settings was migrated from local files to SQL database:
[!WARNING] All old config files was removed.
When a new settings database file is created, it is filled with initial data. See SettingsDatabase._setInitialData method for more.
SettingsDatabase._setInitialData
Settings
Used to communicate both with SettingsDatabase and Interactor. When changes are made, it notifies the Interactor of certain events.
[!TIP] Always use Settings class to make changes in Database. It is important to notify Interactor
Overview
This PR moves all settings to dart controlled classes.
Settings database
This settings was migrated from local files to SQL database:
When a new settings database file is created, it is filled with initial data. See
SettingsDatabase._setInitialData
method for more.Settings
classUsed to communicate both with SettingsDatabase and Interactor. When changes are made, it notifies the Interactor of certain events.
Minor changes