Skip to content

Commit

Permalink
Remove cast on /user
Browse files Browse the repository at this point in the history
  • Loading branch information
d4n3436 committed Sep 10, 2024
1 parent dd38d80 commit d9ab7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/UtilityModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public async Task<RuntimeResult> UserInfoAsync([Summary(description: "The user."
{
activities = string.Join('\n', user.Activities.Select(x =>
x.Type == ActivityType.CustomStatus
? ((CustomStatusGame)x).ToString()
? x.ToString()
: $"{x.Type} {x.Name}"));
}

Expand Down

0 comments on commit d9ab7af

Please sign in to comment.