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

33 lines
643 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,
listeningGroups = listOf(114514, 1919810)
2024-08-30 14:24:46 +08:00
)
2024-08-31 22:37:12 +08:00
val ADMINS = listOf(
3458671395L
)