Files
FancyBot/src/main/kotlin/cn/rtast/fancybot/entity/Config.kt
T

51 lines
1.3 KiB
Kotlin
Raw Normal View History

2024-08-30 14:24:46 +08:00
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/8/30
*/
package cn.rtast.fancybot.entity
import cn.rtast.fancybot.enums.ImageBedType
2024-10-02 21:02:05 +08:00
import cn.rtast.fancybot.enums.ImageType
import cn.rtast.fancybot.enums.WSType
2024-08-30 15:05:51 +08:00
2024-08-30 14:24:46 +08:00
data class Config(
2024-08-30 15:05:51 +08:00
val ncmAPI: String,
val wsType: WSType,
val wsAddress: String,
val accessToken: String,
val port: Int,
2024-09-04 20:01:09 +08:00
val listeningGroups: List<Long>,
2024-09-12 15:43:44 +08:00
val qweatherKey: String,
val githubKey: String,
val imageType: ImageType,
2024-09-15 13:27:14 +08:00
val openAIAPIHost: String,
2024-09-17 22:37:42 +08:00
val openAIAPIKey: String,
2024-09-24 20:51:20 +08:00
val openAIModel: String,
2024-09-17 22:37:42 +08:00
val smtpHost: String,
val smtpPort: Int,
val smtpUser: String,
val smtpPassword: String,
val smtpFromAddress: String,
2024-09-18 13:06:23 +08:00
val admins: List<Long>,
2024-09-24 20:51:20 +08:00
val enableAntiRevoke: Boolean,
val llamaUrl: String,
val llamaModel: String,
2024-09-26 21:56:44 +08:00
val qqMusicApiUrl: String,
val noticeUser: Long,
2024-10-08 15:15:51 +08:00
val selfId: Long,
val tianXingApiKey: String,
2024-10-08 20:45:56 +08:00
val githubUser: String,
val githubImageRepo: String,
val imageBedType: ImageBedType,
val cloudflareAccountId: String,
val cloudflareR2AccessKeyId: String,
val cloudflareR2SecretKey: String,
val cloudflareR2BucketName: String,
val cloudflareR2PublicUrl: String,
val apiSpaceKey: String,
2024-10-11 20:49:32 +08:00
val apiRtastKey: String,
val azureAppClientId: String,
2024-08-30 14:24:46 +08:00
)