dalbodeule 8230762053
Refactor WebSocket handlers and add ACK-based message flow
Consolidated coroutine scopes into `songListScope` and `timerScope` for better management across WebSocket routes. Introduced ACK (acknowledgment) handling for reliable message delivery with retries and timeouts. Updated session handling for multiple WebSocket routes to improve code maintainability and consistency.
2025-04-24 16:56:49 +09:00
2025-03-31 18:43:12 +09:00
2024-08-04 18:59:40 +09:00
2024-11-16 20:35:30 +09:00
2024-07-27 10:20:32 +09:00
2024-08-04 14:09:11 +09:00
2024-06-12 14:57:30 +09:00
2024-08-08 14:30:26 +09:00
2024-06-11 23:50:21 +09:00
2024-08-10 18:04:02 +09:00
2024-07-30 14:28:43 +09:00

nabot_chzzk_bot

Discord   Build Status   Docker Image Version

Chzzk Chatbot with JDA5, chzzk4j

네이버 게임스트리밍 플랫폼 치지직의 챗봇입니다.

지원 기능

Placeholders

  • <name>
  • <following>
  • <counter:counter_name>
  • <personal_counter:counter_name>
  • <daily_counter:counter_name>
  • <days:yyyy-mm-dd>

관리 명령어 (on Discord)

  • /hook token: [디스코드 연동 페이지에서 받은 Token]
  • /alert channel: [디스코드 Channel ID] content: [알림 내용]
  • /add label: [명령어] content: [내용]
  • /list
  • /update label: [명령어] content: [내용]
  • /delete label: [명령어]

매니저 명령어 (on Discord)

  • /addmanager user: [Discord user]
  • /listmanager
  • /removemanager user: [Discord user]

관리 명령어 (on Chzzk chat)

  • !명령어추가 [명령어] [내용]
  • !명령어수정 [명령어] [내용]
  • !명령어삭제 [명령어]

타이머 명령어 (on Chzzk chat, 매니저/스트리머 전용)

  • !시간 [숫자: 분]
  • !시간 업타임
  • !시간 삭제

플레이리스트 명령어 (on Chzzk chat)

  • !노래추가 [유튜브 주소]
  • !노래목록
  • !노래삭제 [번호]
  • !노래설정 [내용] [켜기/끄기]

Envs

  • DISCORD_TOKEN
  • DB_URL
  • DB_USER
  • DB_PASS
  • RUN_AGENT = false
  • NID_AUT
  • NID_SES

사용 예시

  • 팔로우
    • /add label: !팔로우 content: <name>님은 오늘로 <following>일째 팔로우네요!
  • 출첵
    • /add label: !출첵 content: <name>님의 <daily_counter:attendance>번째 출석! fail_content: <name>님은 오늘 이미 출석했어요! <daily_counter:attendance>번 했네요?
    • /add label: ? content: <name>님이 <counter:hook>개째 갈고리 수집
  • ㄱㅇㅇ
    • /add label: ㄱㅇㅇ content: <counter:cute>번째 ㄱㅇㅇ
    • /add label: ㄱㅇㅇ content: 나누 귀여움 +<counter:cute>
    • /add label: 풉 content: <counter:poop>번째 비웃음?
    • /add label: 풉키풉키 content: <counter:poop>번째 비웃음?
  • 바보
    • /add label: 바보 content: 나 바보 아니다?
    • /add label: 바보 content: <counter:fool> 번째 바보? 나 바보 아니다?
  • 첫방송
    • /add label: 첫방송 content: 24년 7월 23일부터 <days:2024-07-23>일 째 방송중!

사용 기술스택

Description
No description provided
Readme AGPL-3.0 1.2 MiB
Languages
Kotlin 99.7%
Dockerfile 0.2%