Skip to content

Commit 5b85771

Browse files
committed
Improve message.
1 parent e7d3ac0 commit 5b85771

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/pages/api/buffer_posts.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,25 @@ export const GET: APIRoute = async ({ params, request }) => {
6565
// Tailor message templates for each platform using appropriate handle formats
6666
const message_template = {
6767
instagram: ({ name, talkTitle, talkUrl }) =>
68-
`Join ${name} at EuroPython for "${talkTitle}". Check the link in bio for details!`,
68+
`Join ${name} at EuroPython for "${talkTitle}".`,
6969

7070
x: ({ name, handle, talkTitle, talkUrl }) =>
7171
handle
72-
? `Join ${name} (${handle}) at EuroPython for "${talkTitle}". ${talkUrl}`
73-
: `Join ${name} at EuroPython for "${talkTitle}". ${talkUrl}`,
72+
? `Join ${name} (${handle}) at EuroPython for "${talkTitle}". talk: ${talkUrl}`
73+
: `Join ${name} at EuroPython for "${talkTitle}". talk: ${talkUrl}`,
7474

7575
linkedin: ({ name, handle, talkTitle, talkUrl }) =>
7676
`Join ${name} at EuroPython for "${talkTitle}".`,
7777

7878
bsky: ({ name, handle, talkTitle, talkUrl }) =>
7979
handle
80-
? `Join ${name} (${handle}) at EuroPython for "${talkTitle}". ${talkUrl}`
81-
: `Join ${name} at EuroPython for "${talkTitle}". ${talkUrl}`,
80+
? `Join ${name} (${handle}) at EuroPython for "${talkTitle}". talk: ${talkUrl}`
81+
: `Join ${name} at EuroPython for "${talkTitle}". talk: ${talkUrl}`,
8282

8383
fosstodon: ({ name, handle, talkTitle, talkUrl }) =>
8484
handle
85-
? `Join ${name} (${handle}) at EuroPython for "${talkTitle}". ${talkUrl}`
86-
: `Join ${name} at EuroPython for "${talkTitle}". ${talkUrl}`,
85+
? `Join ${name} (${handle}) at EuroPython for "${talkTitle}". talk: ${talkUrl}`
86+
: `Join ${name} at EuroPython for "${talkTitle}". talk: ${talkUrl}`,
8787
};
8888

8989
const trimToLimit = (text: string, limit: number) =>

0 commit comments

Comments
 (0)