All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.inmo.plagubot.config.Config.kt Maven / Gradle / Ivy

The newest version!
package dev.inmo.plagubot.config

import dev.inmo.micro_utils.common.Warning
import dev.inmo.micro_utils.startup.plugin.StartPlugin
import dev.inmo.plagubot.Plugin
import dev.inmo.tgbotapi.utils.telegramBotAPIDefaultUrl
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Warning("This API is internal and can be changed without notifications or mentions of changes")
@Serializable
data class Config(
    val botToken: String,
    @SerialName("database")
    val databaseConfig: DatabaseConfig = DatabaseConfig(),
    val botApiServer: String = telegramBotAPIDefaultUrl,
    val testServer: Boolean = false
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy