Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/improve wording in twitter bot service (#1326)

Thomas Kaule6d8de781bd6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 37357865eb..0a3b19cbcd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the caching of the benchmarks in the markets overview (only cache if fetching was successful)
+- Improved the wording in the twitter bot service
### Fixed
diff --git a/apps/api/src/services/twitter-bot/twitter-bot.service.ts b/apps/api/src/services/twitter-bot/twitter-bot.service.ts
index 9deb8fb1c6..40e9c9cf2c 100644
--- a/apps/api/src/services/twitter-bot/twitter-bot.service.ts
+++ b/apps/api/src/services/twitter-bot/twitter-bot.service.ts
@@ -53,13 +53,15 @@ export class TwitterBotService {
symbolItem.marketPrice
);
- let status = `Current Market Mood: ${emoji} ${text} (${symbolItem.marketPrice}/100)`;
+ let status = `Current market mood is ${emoji} ${text.toLowerCase()} (${
+ symbolItem.marketPrice
+ }/100)`;
const benchmarkListing = await this.getBenchmarkListing(3);
if (benchmarkListing?.length > 1) {
status += '\n\n';
- status += '±% from ATH\n';
+ status += '± from ATH in %\n';
status += benchmarkListing;
}