Browse Source
Feature/improve wording in twitter bot service (#1326)
* Improve wording
* Update changelog
pull/1328/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
2 deletions
-
CHANGELOG.md
-
apps/api/src/services/twitter-bot/twitter-bot.service.ts
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
- Improved the caching of the benchmarks in the markets overview (only cache if fetching was successful) |
|
|
- 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 |
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
@ -53,13 +53,15 @@ export class TwitterBotService { |
|
|
symbolItem.marketPrice |
|
|
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); |
|
|
const benchmarkListing = await this.getBenchmarkListing(3); |
|
|
|
|
|
|
|
|
if (benchmarkListing?.length > 1) { |
|
|
if (benchmarkListing?.length > 1) { |
|
|
status += '\n\n'; |
|
|
status += '\n\n'; |
|
|
status += '±% from ATH\n'; |
|
|
status += '± from ATH in %\n'; |
|
|
status += benchmarkListing; |
|
|
status += benchmarkListing; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|