Skip to content

Commit

Permalink
chore(handleTrack): use discord message url formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GodderE2D committed Jun 9, 2024
1 parent 5ebb07b commit b945d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/tracking/handleTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export async function handleTracking(
}

let trackedMessage = "";
if (message) trackedMessage = `[this message](${message.url})`;
if (message) trackedMessage = `${message.url}`;
if (trackAuthor && !existingTrackedUser) trackedMessage += " and ";
if (!message || (trackAuthor && !existingTrackedUser)) trackedMessage += `${target}`;

Expand Down

0 comments on commit b945d69

Please sign in to comment.