mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2025-12-06 06:16:03 +00:00
complete 1.0.0
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package dev.inmo.plagubot.config
|
||||
|
||||
import dev.inmo.plagubot.Plugin
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class Config(
|
||||
val botToken: String,
|
||||
val plugins: List<Plugin>,
|
||||
val database: DatabaseConfig = DatabaseConfig(),
|
||||
@SerialName("database")
|
||||
val databaseConfig: DatabaseConfig = DatabaseConfig(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user