mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
Merge pull request #96 from dalbodeule/develop
apiDiscordRoutes fix. (18x)
This commit is contained in:
commit
3fe36daf14
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user