Skip to content

Commit

Permalink
Bump DiscordRPC to 1.2.1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 26, 2023
1 parent d618ff3 commit 0b1898f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bloxstrap/Bloxstrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
3 changes: 1 addition & 2 deletions Bloxstrap/Integrations/DiscordRichPresence.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using DiscordRPC;
using System.Reflection.Metadata.Ecma335;

namespace Bloxstrap.Integrations
{
Expand All @@ -25,7 +24,7 @@ public DiscordRichPresence(ActivityWatcher activityWatcher)
_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");
Expand Down

0 comments on commit 0b1898f

Please sign in to comment.