Skip to content

Commit

Permalink
Fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRibcage committed Jun 27, 2024
1 parent a401fe7 commit 38322fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/discord/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export const sendDiscordItemMessage = async (
const sectionHeader = formatMessageSectionTitle(section.title);
const sectionItems = section.items
.map((item) =>
section.includeLinks
? formatItemWithLink(item)
: formatItem(item),
section.includeLinks ? formatItemWithLink(item) : formatItem(item),
)
.join("\n");
return `${sectionHeader} ${sectionItems}`;
Expand Down

0 comments on commit 38322fb

Please sign in to comment.