mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 21:01:14 +00:00
apiDiscordRoutes fix. (18x)
- delete some debugging codes.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user