Bump DiscordRPC to 1.2.1.24

This commit is contained in:
pizzaboxer 2023-07-26 22:46:42 +01:00
parent d618ff350c
commit 0b1898fb3b
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 2 additions and 3 deletions

View File

@ -39,7 +39,7 @@
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
<PackageReference Include="DiscordRichPresence" Version="1.1.4.20" />
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
<PackageReference Include="securifybv.ShellLink" Version="0.1.0" />
</ItemGroup>

View File

@ -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");