mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
Merge pull request #57 from dalbodeule/develop
fix HookCommand, fix documentation
This commit is contained in:
commit
7e417b5d12
@ -18,7 +18,7 @@
|
|||||||
- [x] \<days:yyyy-mm-dd>
|
- [x] \<days:yyyy-mm-dd>
|
||||||
|
|
||||||
### 관리 명령어 (on Discord)
|
### 관리 명령어 (on Discord)
|
||||||
- [x] /register chzzk_id: \[치지직 고유ID]
|
- [x] /hook token: \[디스코드 연동 페이지에서 받은 Token]
|
||||||
- [x] /alert channel: \[디스코드 Channel ID] content: \[알림 내용]
|
- [x] /alert channel: \[디스코드 Channel ID] content: \[알림 내용]
|
||||||
- [x] /add label: \[명령어] content: \[내용]
|
- [x] /add label: \[명령어] content: \[내용]
|
||||||
- [ ] /list
|
- [ ] /list
|
||||||
@ -79,3 +79,5 @@
|
|||||||
- [mariadb](https://mariadb.org/)
|
- [mariadb](https://mariadb.org/)
|
||||||
- [docker](https://www.docker.com/)
|
- [docker](https://www.docker.com/)
|
||||||
- [Teamcity](https://www.jetbrains.com/teamcity/)
|
- [Teamcity](https://www.jetbrains.com/teamcity/)
|
||||||
|
- [Nuxtjs](https://nuxt.com/)
|
||||||
|
- [Bulma](https://bulma.io/)
|
@ -52,7 +52,7 @@ object HookComand: CommandInterface {
|
|||||||
UserService.updateUser(user, event.user.idLong)
|
UserService.updateUser(user, event.user.idLong)
|
||||||
UserService.updateLiveAlert(user, event.guild!!.idLong, event.channelIdLong, "")
|
UserService.updateLiveAlert(user, event.guild!!.idLong, event.channelIdLong, "")
|
||||||
hookMap.remove(token)
|
hookMap.remove(token)
|
||||||
event.hook.sendMessage("등록이 완료되었습니다. `${user.username}`")
|
event.hook.sendMessage("등록이 완료되었습니다. `${user.username}`").queue()
|
||||||
} catch(e: Exception) {
|
} catch(e: Exception) {
|
||||||
event.hook.sendMessage("에러가 발생했습니다.").queue()
|
event.hook.sendMessage("에러가 발생했습니다.").queue()
|
||||||
logger.debug(e.stackTraceToString())
|
logger.debug(e.stackTraceToString())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user