From 0b1898fb3b1ec1286ae8af73f91053cf7b7652a0 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Wed, 26 Jul 2023 22:46:42 +0100 Subject: [PATCH] Bump DiscordRPC to 1.2.1.24 --- Bloxstrap/Bloxstrap.csproj | 2 +- Bloxstrap/Integrations/DiscordRichPresence.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Bloxstrap/Bloxstrap.csproj b/Bloxstrap/Bloxstrap.csproj index e33cbbf..a67dcea 100644 --- a/Bloxstrap/Bloxstrap.csproj +++ b/Bloxstrap/Bloxstrap.csproj @@ -39,7 +39,7 @@ - + diff --git a/Bloxstrap/Integrations/DiscordRichPresence.cs b/Bloxstrap/Integrations/DiscordRichPresence.cs index 1f470c9..d0e8bb5 100644 --- a/Bloxstrap/Integrations/DiscordRichPresence.cs +++ b/Bloxstrap/Integrations/DiscordRichPresence.cs @@ -1,5 +1,4 @@ using DiscordRPC; -using System.Reflection.Metadata.Ecma335; namespace Bloxstrap.Integrations { @@ -25,7 +24,7 @@ namespace Bloxstrap.Integrations _activityWatcher.OnGameMessage += (_, message) => OnGameMessage(message); _rpcClient.OnReady += (_, e) => - App.Logger.WriteLine(LOG_IDENT, $"Received ready from user {e.User.Username} ({e.User.ID})"); + App.Logger.WriteLine(LOG_IDENT, $"Received ready from user {e.User} ({e.User.ID})"); _rpcClient.OnPresenceUpdate += (_, e) => App.Logger.WriteLine(LOG_IDENT, "Presence updated");