diff --git a/README.md b/README.md index 91620e3..be384f7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# nabot_chzzk_bot +# chibot_chzzk_bot -[![Discord](https://img.shields.io/discord/1250093195870867577)](https://discord.gg/up8ANZegmy)   [![Build Status](https://teamcity.mori.space/app/rest/builds/buildType:NabotChzzkBot_Build/statusIcon)](https://teamcity.mori.space/project/NabotChzzkBot)   [![Docker Image Version](https://img.shields.io/docker/v/dalbodeule/chzzkbot)](https://hub.docker.com/repository/docker/dalbodeule/chzzkbot/general) +[![Discord](https://img.shields.io/discord/1250093195870867577)](https://discord.gg/up8ANZegmy)   [![Build Status](https://teamcity.mori.space/app/rest/builds/buildType:NabotChzzkBot_Build/statusIcon)](https://teamcity.mori.space/project/NabotChzzkBot) ## Chzzk Chatbot with [JDA5](https://github.com/discord-jda/JDA), [chzzk4j](https://github.com/R2turnTrue/chzzk4j) @@ -17,17 +17,6 @@ - [x] \ - [x] \ -### 관리 명령어 (on Discord) -- [x] /hook token: \[디스코드 연동 페이지에서 받은 Token] -- [x] /alert channel: \[디스코드 Channel ID] content: \[알림 내용] -- [x] /add label: \[명령어] content: \[내용] -- [ ] /list -- [x] /update label: \[명령어] content: \[내용] -- [x] /delete label: \[명령어] -### 매니저 명령어 (on Discord) -- [x] /addmanager user: \[Discord user] -- [x] /listmanager -- [x] /removemanager user: \[Discord user] ### 관리 명령어 (on Chzzk chat) - [x] !명령어추가 \[명령어] \[내용] - [x] !명령어수정 \[명령어] \[내용] @@ -42,32 +31,6 @@ - [ ] !노래삭제 \[번호] - [ ] !노래설정 \[내용] \[켜기/끄기] -### Envs -- DISCORD_TOKEN -- DB_URL -- DB_USER -- DB_PASS -- RUN_AGENT = `false` -- NID_AUT -- NID_SES - -### 사용 예시 -- 팔로우 - - `/add label: !팔로우 content: 님은 오늘로 일째 팔로우네요!` -- 출첵 - - `/add label: !출첵 content: 님의 번째 출석! fail_content: 님은 오늘 이미 출석했어요! 번 했네요?` - - `/add label: ? content: 님이 개째 갈고리 수집` -- ㄱㅇㅇ - - `/add label: ㄱㅇㅇ content: 번째 ㄱㅇㅇ` - - `/add label: ㄱㅇㅇ content: 나누 귀여움 +` -- 풉 - - `/add label: 풉 content: 번째 비웃음?` - - `/add label: 풉키풉키 content: 번째 비웃음?` -- 바보 - - `/add label: 바보 content: 나 바보 아니다?` - - `/add label: 바보 content: 번째 바보? 나 바보 아니다?` -- 첫방송 - - `/add label: 첫방송 content: 24년 7월 23일부터 일 째 방송중!` ## 사용 기술스택 - [Exposed](https://github.com/JetBrains/Exposed) diff --git a/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/chzzk/MessageHandler.kt b/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/chzzk/MessageHandler.kt index f107646..8081257 100644 --- a/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/chzzk/MessageHandler.kt +++ b/chatbot/src/main/kotlin/space/mori/chzzk_bot/chatbot/chzzk/MessageHandler.kt @@ -84,7 +84,7 @@ class MessageHandler( } private fun commandListCommand(msg: SessionChatMessage, user: User) { - handler.sendChat("리스트는 여기입니다. https://nabot.mori.space/commands/${user.token}") + handler.sendChat("리스트는 여기입니다. https://chibot.mori.space/commands/${user.token}") } private fun manageAddCommand(msg: SessionChatMessage, user: User) { @@ -294,7 +294,7 @@ class MessageHandler( return } - handler.sendChat("리스트는 여기입니다. https://nabot.mori.space/songs/${user.token}") + handler.sendChat("리스트는 여기입니다. https://chibot.mori.space/songs/${user.token}") } private fun songStartCommand(msg: SessionChatMessage, user: User) { @@ -307,7 +307,7 @@ class MessageHandler( if(user.discord != null) { bot.retrieveUserById(user.discord!!).queue { discordUser -> discordUser?.openPrivateChannel()?.queue { channel -> - channel.sendMessage("여기로 접속해주세요! ||https://nabot.mori.space/songlist||.") + channel.sendMessage("여기로 접속해주세요! ||https://chibot.mori.space/songlist||.") .queue() } }