From 4eab85970f3b26d1cf4e7d1847a2a9cea4a57a81 Mon Sep 17 00:00:00 2001 From: doji Date: Sat, 20 Apr 2024 01:32:35 +0900 Subject: [PATCH] fix log message --- .../meeting/adaptor/MeetingEventMessageDiscordAdaptor.kt | 2 +- .../client/discord/user/adaptor/UserEventDiscordAdaptor.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/meeting/adaptor/MeetingEventMessageDiscordAdaptor.kt b/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/meeting/adaptor/MeetingEventMessageDiscordAdaptor.kt index 69810280..dfe8ad3d 100644 --- a/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/meeting/adaptor/MeetingEventMessageDiscordAdaptor.kt +++ b/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/meeting/adaptor/MeetingEventMessageDiscordAdaptor.kt @@ -23,7 +23,7 @@ class MeetingEventMessageDiscordAdaptor( val meetingTeamMemberCount: Int = meetingMatchingEvent.memberCount / 2 val discordUri = URI(this.clientProperties.events.getValue(EventType.MEETING_MATCHING).url) - val prefix = if (meetingMatchingEvent.matchedMeetingCount % 10 == 0) "@everyone " else "" + val prefix = if (meetingMatchingEvent.matchedMeetingCount % 10 == 0) "@everyone\n" else "" val message = "$prefix${meetingMatchingEvent.matchedMeetingCount}번째 미팅 " + "${meetingMatchingEvent.meeting.requestingTeamId}(${meetingMatchingEvent.requestingMeetingTeamMbti.value})와 " + diff --git a/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/user/adaptor/UserEventDiscordAdaptor.kt b/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/user/adaptor/UserEventDiscordAdaptor.kt index f86e106a..d80ee55d 100644 --- a/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/user/adaptor/UserEventDiscordAdaptor.kt +++ b/infrastructure/client/src/main/kotlin/com/studentcenter/weave/infrastructure/client/discord/user/adaptor/UserEventDiscordAdaptor.kt @@ -22,7 +22,7 @@ class UserEventDiscordAdaptor( if (this.clientProperties.events.getValue(EventType.USER_REGISTRATION).active) { val discordUri = URI(this.clientProperties.events.getValue(EventType.USER_REGISTRATION).url) - val prefix = if (userCount % 10 == 0) "@everyone " else "" + val prefix = if (userCount % 10 == 0) "@everyone\n" else "" val message = "$prefix${userCount}번째 유저 ${user.nickname.value}(${user.gender})님이 가입했어요!🎉" runCatching {