a lot of improvements

This commit is contained in:
2024-09-14 21:06:06 +06:00
parent bb06ba1ca7
commit 3b507a5668
4 changed files with 32 additions and 16 deletions

View File

@@ -14,7 +14,8 @@ data class Config(
val plugins: List<StartPlugin>,
@SerialName("database")
val databaseConfig: DatabaseConfig = DatabaseConfig(),
val botApiServer: String = telegramBotAPIDefaultUrl
val botApiServer: String = telegramBotAPIDefaultUrl,
val testServer: Boolean = false
) {
val botPlugins = plugins.filterIsInstance<Plugin>()
}