1
0
mirror of https://github.com/cirosantilli/china-dictatorship.git synced 2025-09-09 06:00:40 +02:00

at mention authors

This commit is contained in:
Ciro Santilli
2022-08-02 19:01:03 +00:00
parent f13f417ac5
commit abaf597819

View File

@@ -62,7 +62,7 @@ for (const line of titleAndBody.split('\n')) {
// Remove some speical chars to remove at mention spam possibilities.
quoteArray.push('> ' + line.replace(/[@#]/g, ""));
}
const replyBody = `Hi ${author},
const replyBody = `Hi @${author},
${quoteArray.join('\n').substring(0,40000)}