Fix activity game party size exploit/bug
Created by: uwx
Summary
Fixes an unintuitive error when deserializing malformed rich presence in activity.
Details
The error happened due to bad Discord documentation. Party size is mislabeled as "integer" in the docs, which led to the bad implementation on our side. The exception is triggered by JSON.NET trying to convert a long to int.
Changes proposed
- Change party size Int32 => Int64