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

35 lines
698 B
Kotlin
Raw Normal View History

2024-08-27 19:15:47 +08:00
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/8/27
*/
package cn.rtast.fancybot
2024-08-30 14:24:46 +08:00
import cn.rtast.fancybot.entity.Config
2024-08-30 15:05:51 +08:00
import cn.rtast.fancybot.entity.enums.WSType
2024-08-27 19:15:47 +08:00
import com.google.gson.Gson
import com.google.gson.GsonBuilder
val gson: Gson = GsonBuilder()
.setPrettyPrinting()
.disableHtmlEscaping()
.create()
2024-08-30 14:24:46 +08:00
const val ROOT_PATH = "./data"
val DEFAULT_CONFIG = Config(
2024-08-30 15:05:51 +08:00
ncmAPI = "https://ncm.rtast.cn",
wsAddress = "ws://127.0.0.1",
wsType = WSType.Client,
accessToken = "114514",
2024-09-03 21:38:50 +08:00
port = 6760,
2024-09-04 20:01:09 +08:00
listeningGroups = listOf(114514, 1919810),
2024-09-12 15:43:44 +08:00
qweatherKey = "114514",
githubKey = "1919810"
2024-08-30 14:24:46 +08:00
)
2024-08-31 22:37:12 +08:00
val ADMINS = listOf(
3458671395L
)