Improved quote tweet style

This commit is contained in:
dangered wolf 2022-07-15 16:36:49 -04:00
parent f7a4203003
commit e1b9e063a3
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -4,9 +4,9 @@ export const handleQuote = (quote: TweetPartial): string | null => {
console.log('quote tweet: ', quote); console.log('quote tweet: ', quote);
let str = `\n`; let str = `\n`;
str += `↘️ Quoting ${quote.user?.name} (@${quote.user?.screen_name}) `; str += `════ ↘️ Quoting ${quote.user?.name} (@${quote.user?.screen_name}) ════`;
str += '═'.repeat(Math.max(60 - str.length, 0)); // str += '═'.repeat(Math.max(60 - str.length, 0));
str += ` \n\n`; str += ` \n\n`;
str += linkFixer(quote, quote.full_text); str += linkFixer(quote, quote.full_text);