-
Notifications
You must be signed in to change notification settings - Fork 1
feat: 디스코드, 슬랙 봇 추가 #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
24/11/12 21:47 추가사항
|
11/15 16:12 변경사항
|
dlwhsk0
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
Caution Review failedThe pull request is closed. Walkthrough이번 변경에서는 Slack 및 Discord와의 연동을 위한 백엔드 기능이 대폭 확장되었습니다. Slack과 Discord의 OAuth 인증, DM(Direct Message) 전송, 사용자 정보 저장 및 조회, 리마인더 메시지 발송 로직이 신규 서비스와 컨트롤러를 통해 구현되었습니다. SNS 관련 데이터 모델( Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Frontend
participant Backend
participant SlackAPI
participant DiscordAPI
%% Slack DM 연결 플로우
User->>Frontend: Slack 인증 코드 발급
Frontend->>Backend: /api/v2/slack/dm/open (code)
Backend->>SlackAPI: OAuth 토큰 교환 (code)
SlackAPI-->>Backend: bot_token, user_token, user_id 등
Backend->>DB: SNS 정보 저장
Backend->>SlackAPI: DM 전송 (bot_token, user_id, 메시지)
Backend-->>Frontend: DM 전송 성공 응답
%% Discord DM 연결 플로우
User->>Frontend: Discord 인증 코드 발급
Frontend->>Backend: /api/v2/discord/dm/open (code)
Backend->>DiscordAPI: OAuth 토큰 교환 (code)
DiscordAPI-->>Backend: access_token
Backend->>DiscordAPI: 사용자 정보 조회 (access_token)
DiscordAPI-->>Backend: discord_user_id
Backend->>DiscordAPI: DM 채널 생성 (discord_user_id)
DiscordAPI-->>Backend: channel_id
Backend->>DB: SNS 정보 저장
Backend->>DiscordAPI: DM 전송 (channel_id, 메시지)
Backend-->>Frontend: DM 전송 성공 응답
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (22)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary
Description
Screenshot
Test Checklist
Summary by CodeRabbit
신규 기능
버그 수정
문서화
/api/v2로 변경되었습니다.리팩터링
기타