From e6d8de781bd6c7ae0367e974263c9eb0401ce9f9 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 6 Oct 2022 20:52:34 +0200 Subject: [PATCH] Feature/improve wording in twitter bot service (#1326) * Improve wording * Update changelog --- CHANGELOG.md | 1 + apps/api/src/services/twitter-bot/twitter-bot.service.ts | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37357865e..0a3b19cbc 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 9deb8fb1c..40e9c9cf2 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; }