Skip to content
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

[Feature/#243] 디스코드 알림 연동 #247

Merged
merged 11 commits into from
Oct 24, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void sendNotification(NotificationType type, Exception e, String request)
try {
switch (type){
case ERROR -> discordSingUpClient.sendMessage(createErrorMessage(e,request));
case SINGUP -> discordSingUpClient.sendMessage(createSingUpMessage());
case SINGUP -> discordSingUpClient.sendMessage(createSignUpMessage());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

근데 이걸 봐버렸는데 SIGNUP 킁..ㅋㅋㅋ 못본척하까요

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

킁... 수정하겠습니다

}
} catch (FeignException error) {
throw new CustomException(Error.INVALID_DISCORD_MESSAGE,
Expand All @@ -42,7 +42,7 @@ public void sendNotification(NotificationType type, Exception e, String request)
}
}

private DiscordMessage createSingUpMessage() {
private DiscordMessage createSignUpMessage() {
return DiscordMessage.builder()
.content("# 😍 회원가입 이벤트가 발생했습니다.")
.embeds(
Expand Down