fix HookCommand, fix documentation

- fix HookCommand (.queue() typo)
- fix hook command.
This commit is contained in:
dalbodeule
2024-08-10 18:04:02 +09:00
parent 0acccce720
commit ac7f9b3ad0
2 changed files with 4 additions and 2 deletions

View File

@@ -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())