37 lines
880 B
Kotlin
37 lines
880 B
Kotlin
/*
|
|
* Copyright © 2024 RTAkland
|
|
* Author: RTAkland
|
|
* Date: 2024/8/30
|
|
*/
|
|
|
|
|
|
package cn.rtast.fancybot.entity
|
|
|
|
import cn.rtast.fancybot.entity.enums.ImageType
|
|
import cn.rtast.fancybot.entity.enums.WSType
|
|
|
|
data class Config(
|
|
val ncmAPI: String,
|
|
val wsType: WSType,
|
|
val wsAddress: String,
|
|
val accessToken: String,
|
|
val port: Int,
|
|
val listeningGroups: List<Long>,
|
|
val qweatherKey: String,
|
|
val githubKey: String,
|
|
val imageType: ImageType,
|
|
val openAIAPIHost: String,
|
|
val openAIAPIKey: String,
|
|
val openAIModel: String,
|
|
val smtpHost: String,
|
|
val smtpPort: Int,
|
|
val smtpUser: String,
|
|
val smtpPassword: String,
|
|
val smtpFromAddress: String,
|
|
val admins: List<Long>,
|
|
val enableAntiRevoke: Boolean,
|
|
val llamaUrl: String,
|
|
val llamaModel: String,
|
|
val qqMusicApiUrl: String,
|
|
val startUpNoticeUser: Long
|
|
) |