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

Commit

Permalink
メンションの位置調整
Browse files Browse the repository at this point in the history
  • Loading branch information
shikajiro committed Sep 27, 2023
1 parent ac12ccd commit 139130a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/chatwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const buildChatworkPostMentionMessage = (
senderName: string
): string => {
const mentionBlock = chatworkIdsForMention.map((id) => `[To:${id}]`).join(" ");
return `${mentionBlock}\n[info][title]${senderName}がメンションしました[/title] ${issueTitle}\n${commentLink}\n[hr]\n${githubBody}\n[/info]`;
return `[info][title]${senderName}がメンションしました[/title]${mentionBlock} ${issueTitle}\n${commentLink}\n[hr]\n${githubBody}\n[/info]`;
};

export const buildChatworkPostApproveMessage = (
Expand All @@ -20,7 +20,7 @@ export const buildChatworkPostApproveMessage = (
senderName: string
): string => {
const mentionBlock = chatworkIdsForMention.map((id) => `[To:${id}]`).join(" ");
return `${mentionBlock}\n[info][title](cracker)${senderName}が承認しました[/title] ${issueTitle}\n${commentLink}\n[hr]\n${githubBody}\n[/info]`;
return `[info][title](cracker)${senderName}が承認しました[/title]${mentionBlock} ${issueTitle}\n${commentLink}\n[hr]\n${githubBody}\n[/info]`;
};

export const buildChatworkPostMessage = (
Expand Down

0 comments on commit 139130a

Please sign in to comment.