mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
commit
325860523f
@ -72,7 +72,6 @@ fun Routing.wsSongListRoutes() {
|
||||
is Frame.Text -> {
|
||||
if(frame.readText() == "ping") {
|
||||
send("pong")
|
||||
return@webSocket
|
||||
}
|
||||
val data = frame.readText().let { Json.decodeFromString<SongRequest>(it) }
|
||||
|
||||
|
@ -65,7 +65,6 @@ fun Routing.wsSongRoutes() {
|
||||
is Frame.Text -> {
|
||||
if(frame.readText() == "ping") {
|
||||
send("pong")
|
||||
return@webSocket
|
||||
}
|
||||
}
|
||||
is Frame.Ping -> send(Frame.Pong(frame.data))
|
||||
|
@ -65,7 +65,6 @@ fun Routing.wsTimerRoutes() {
|
||||
is Frame.Text -> {
|
||||
if(frame.readText() == "ping") {
|
||||
send("pong")
|
||||
return@webSocket
|
||||
}
|
||||
}
|
||||
is Frame.Ping -> send(Frame.Pong(frame.data))
|
||||
|
Loading…
x
Reference in New Issue
Block a user