Skip to content

Commit

Permalink
fix: fix (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
glucrypto authored Dec 6, 2024
1 parent 135977b commit 0e33b46
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/core/managers/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export class ScheduledPostManager {
);

// Format movement update text
let tweetText = `🚀 Significant Moves Alert\n\n`;
let tweetText = `🚀 Significant last hour moves\n\n`;
// Process each category's movements
for (const categoryData of movementData.categories) {
if (categoryData.movements.length > 0) {
Expand All @@ -350,8 +350,10 @@ export class ScheduledPostManager {
const change = movement.metrics.price.change1h.toFixed(1);
const score = 0;

tweetText += `$${movement.symbol} ${changePrefix}${change}% | @${
movement.metadata?.twitterHandle || ""
tweetText += `$${movement.symbol} ${changePrefix}${change}% | ${
movement.metadata?.twitterHandle
? `@${movement.metadata?.twitterHandle}`
: ""
}\n`;
}
tweetText += "\n";
Expand Down

0 comments on commit 0e33b46

Please sign in to comment.