Merge pull request #96 from dalbodeule/develop

apiDiscordRoutes fix. (18x)
This commit is contained in:
JinU Choi 2024-08-15 11:23:36 +09:00 committed by GitHub
commit 3fe36daf14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,9 +100,6 @@ object DiscordGuildCache {
}
val parsed = result.body<MutableList<GuildRole>>()
println(result.bodyAsText())
parsed.forEach { println("${it.name} - ${it.id}") }
return parsed
} catch(e: Exception) {
@ -134,9 +131,6 @@ object DiscordGuildCache {
}
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
} catch(e: Exception) {