From ac7f9b3ad04f08cd01ee81a391fa42404beaa5d9 Mon Sep 17 00:00:00 2001 From: dalbodeule <11470513+dalbodeule@users.noreply.github.com> Date: Sat, 10 Aug 2024 18:04:02 +0900 Subject: [PATCH] fix HookCommand, fix documentation - fix HookCommand (.queue() typo) - fix hook command. --- README.md | 4 +++- .../mori/chzzk_bot/chatbot/discord/commands/HookComand.kt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ac3203..91620e3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ - [x] \ ### 관리 명령어 (on Discord) -- [x] /register chzzk_id: \[치지직 고유ID] +- [x] /hook token: \[디스코드 연동 페이지에서 받은 Token] - [x] /alert channel: \[디스코드 Channel ID] content: \[알림 내용] - [x] /add label: \[명령어] content: \[내용] - [ ] /list @@ -79,3 +79,5 @@ - [mariadb](https://mariadb.org/) - [docker](https://www.docker.com/) - [Teamcity](https://www.jetbrains.com/teamcity/) +- [Nuxtjs](https://nuxt.com/) +- [Bulma](https://bulma.io/) \ No newline at end of file diff --git a/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/discord/commands/HookComand.kt b/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/discord/commands/HookComand.kt index ab6b809..e6b42d3 100644 --- a/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/discord/commands/HookComand.kt +++ b/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/discord/commands/HookComand.kt @@ -52,7 +52,7 @@ object HookComand: CommandInterface { UserService.updateUser(user, event.user.idLong) UserService.updateLiveAlert(user, event.guild!!.idLong, event.channelIdLong, "") hookMap.remove(token) - event.hook.sendMessage("등록이 완료되었습니다. `${user.username}`") + event.hook.sendMessage("등록이 완료되었습니다. `${user.username}`").queue() } catch(e: Exception) { event.hook.sendMessage("에러가 발생했습니다.").queue() logger.debug(e.stackTraceToString())