mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 21:01:14 +00:00
debug discord login (13x)
- DiscordGuildLIstAPI fix
This commit is contained in:
@@ -274,7 +274,7 @@ data class DiscordGuildListAPI(
|
|||||||
val id: String,
|
val id: String,
|
||||||
val name: String,
|
val name: String,
|
||||||
val icon: String,
|
val icon: String,
|
||||||
val banner: String,
|
val banner: String?,
|
||||||
val owner: Boolean,
|
val owner: Boolean,
|
||||||
val permissions: Int,
|
val permissions: Int,
|
||||||
val features: List<String>
|
val features: List<String>
|
||||||
|
@@ -8,6 +8,7 @@ val applicationHttpClient = HttpClient(CIO) {
|
|||||||
install(ContentNegotiation) {
|
install(ContentNegotiation) {
|
||||||
json(json = Json {
|
json(json = Json {
|
||||||
ignoreUnknownKeys = true
|
ignoreUnknownKeys = true
|
||||||
|
coerceInputValues = true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user