mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
apiDiscordRoutes fix. (18x)
- delete some debugging codes.
This commit is contained in:
parent
15d6f3d9b1
commit
a56f504418
@ -100,9 +100,6 @@ object DiscordGuildCache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val parsed = result.body<MutableList<GuildRole>>()
|
val parsed = result.body<MutableList<GuildRole>>()
|
||||||
println(result.bodyAsText())
|
|
||||||
|
|
||||||
parsed.forEach { println("${it.name} - ${it.id}") }
|
|
||||||
|
|
||||||
return parsed
|
return parsed
|
||||||
} catch(e: Exception) {
|
} catch(e: Exception) {
|
||||||
@ -134,9 +131,6 @@ object DiscordGuildCache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val parsed = result.body<List<GuildChannel>>().filter { it.type == ChannelType.GUILD_TEXT.value }.toMutableList()
|
val parsed = result.body<List<GuildChannel>>().filter { it.type == ChannelType.GUILD_TEXT.value }.toMutableList()
|
||||||
println(result.bodyAsText())
|
|
||||||
|
|
||||||
parsed.forEach { println("${it.name} - ${it.id}") }
|
|
||||||
|
|
||||||
return parsed
|
return parsed
|
||||||
} catch(e: Exception) {
|
} catch(e: Exception) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user