Skip to content

[FEAT] 채팅 슬래시 명령어 시스템 구현 #200

Description

@DDINGJOO

개요

채팅방에서 사용할 수 있는 슬래시 명령어 시스템을 구현합니다.

새로운 메시지 타입

  • poll_create - 투표 생성
  • poll_vote - 투표 참여
  • poll_end - 투표 종료
  • clear_chat - 채팅 삭제
  • leave_room - 퇴장

명령어 목록

기본 명령어

명령어 설명
/help 명령어 목록 표시
/members 접속자 목록 조회
/leave 채팅방 퇴장
/clear 채팅 내역 삭제

재미 명령어

명령어 설명
/dice 주사위 굴리기 (1-6)
/coin 동전 던지기
/random [옵션1] [옵션2] ... 랜덤 선택

투표 명령어

명령어 설명
/poll [질문] | [옵션1] | [옵션2] 투표 생성
/vote [번호] 투표 참여
/endpoll 투표 종료

구현 항목

필수

  • 새로운 MessageType 처리
  • /leave 명령 시 채팅방 퇴장 처리
  • /clear 명령 시 본인 메시지 UI 삭제

권장

  • 명령어 자동완성 UI
  • 투표 인터랙티브 UI (버튼으로 투표)
  • 투표 결과 프로그레스 바 시각화
  • 주사위/동전 애니메이션

참고

  • 백엔드 가이드: docs/frontend-chat-commands-guide.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions