Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
[WEAV-000] Fix log message (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
dojinyou authored Apr 19, 2024
1 parent aede7d5 commit 0285197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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})와 " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0285197

Please sign in to comment.