apiDiscordRoutes fix. (18x)

- delete some debugging codes.
This commit is contained in:
dalbodeule 2024-08-15 11:21:55 +09:00
parent 15d6f3d9b1
commit a56f504418
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65

View File

@ -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) {