From 1964aa50ca5183f3f5ad8c10bc45842a1c3c31e0 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 15 Apr 2024 01:32:27 +0200 Subject: [PATCH] Tweaked market buy/sell messages in RPC --- .../EliteAPI.Discord/EliteDangerousApiDiscordRichPresence.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Discord/EliteAPI.Discord/EliteDangerousApiDiscordRichPresence.cs b/Discord/EliteAPI.Discord/EliteDangerousApiDiscordRichPresence.cs index bc7e0d09..beafefa1 100644 --- a/Discord/EliteAPI.Discord/EliteDangerousApiDiscordRichPresence.cs +++ b/Discord/EliteAPI.Discord/EliteDangerousApiDiscordRichPresence.cs @@ -377,7 +377,7 @@ private void OnMarketBuy(MarketBuyEvent @event, EventContext context) _client.SetPresence(new RichPresence { Details = "Buying at space station", - State = $"{_currentBody} in {_currentSystem}", + State = $"{@event.TotalCost:n0} CR of {@event.Type.Local}", Assets = new Assets { LargeImageKey = "trading", @@ -396,7 +396,7 @@ private void OnMarketSell(MarketSellEvent @event, EventContext context) _client.SetPresence(new RichPresence { Details = "Selling at space station", - State = $"{_currentBody} in {_currentSystem}", + State = $"{@event.TotalSale:n0} CR of {@event.Type.Local}", Assets = new Assets { LargeImageKey = "trading",