add Session flows

- songlist page to changed.
This commit is contained in:
dalbodeule
2024-08-08 14:53:37 +09:00
parent a828e23767
commit 8dde66c069
6 changed files with 51 additions and 75 deletions

View File

@@ -285,12 +285,10 @@ class MessageHandler(
val session = "${UUID.randomUUID()}${UUID.randomUUID()}".replace("-", "")
SongConfigService.updateSession(user, session)
bot.retrieveUserById(user.discord).queue { discordUser ->
discordUser?.openPrivateChannel()?.queue { channel ->
channel.sendMessage("여기로 접속해주세요! ||https://nabot.mori.space/songlist/${session}||.\n주소가 노출될 경우 방송을 다시 켜셔야 합니다!")
channel.sendMessage("여기로 접속해주세요! ||https://nabot.mori.space/songlist||.")
.queue()
}
}