mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
apiDiscordRoutes fix. (14x)
- some logic changed.
This commit is contained in:
parent
5fbf47507c
commit
c38af5a511
@ -129,11 +129,6 @@ val server = embeddedServer(Netty, port = 8080, ) {
|
||||
it.owner
|
||||
}.map { it.id }
|
||||
))
|
||||
DiscordGuildCache.addGuild(guilds.associate {
|
||||
println("${it.id} ${it.name}")
|
||||
|
||||
it.id to Guild(it.id, it.name, it.icon, it.banner, it.roles ?: emptyList(), emptyList())
|
||||
})
|
||||
|
||||
redirects[principal.state]?.let { redirect ->
|
||||
call.respondRedirect(redirect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user