mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-07 19:40:54 +01:00
Improved quote tweet style
This commit is contained in:
parent
f7a4203003
commit
e1b9e063a3
1 changed files with 2 additions and 2 deletions
|
@ -4,9 +4,9 @@ export const handleQuote = (quote: TweetPartial): string | null => {
|
|||
console.log('quote tweet: ', quote);
|
||||
|
||||
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 += linkFixer(quote, quote.full_text);
|
||||
|
|
Loading…
Add table
Reference in a new issue