chore: improve code and add image type option

This commit is contained in:
2024-09-14 20:24:54 +08:00
parent 86581e7998
commit eb65a89425
8 files changed
+27 -15

No files matched your search

+3 -1
View File
@@ -8,6 +8,7 @@
package cn.rtast.fancybot
import cn.rtast.fancybot.entity.Config
import cn.rtast.fancybot.entity.enums.ImageType
import cn.rtast.fancybot.entity.enums.WSType
import com.google.gson.Gson
import com.google.gson.GsonBuilder
@@ -27,7 +28,8 @@ val DEFAULT_CONFIG = Config(
port = 6760,
listeningGroups = listOf(114514, 1919810),
qweatherKey = "114514",
githubKey = "1919810"
githubKey = "1919810",
imageType = ImageType.PNG
)
val ADMINS = listOf(