public static void SetPresence(TelemetryData data) { discordClient.SetPresence(new RichPresence() { Details = VehicleDB.Instance.GetVehicle(data.CarOrdinal).GetVehicleInfo(), State = $"[{data.CarClass.ToString()} | {data.CarPI}] - {data.GetMPH()} mph", Assets = new Assets() { LargeImageKey = "fm" } }); }
public static void SetPresence(TelemetryData data) { discordClient.SetPresence(new RichPresence() { Details = VehicleDB.Instance.GetVehicle(data.CarOrdinal).GetVehicleInfo(), State = $"[{data.CarClass.ToString()} | {data.CarPI}] - {data.GetMPH()} mph", Timestamps = elapsedTime, Assets = new Assets() { LargeImageKey = "forza-horizon-4-1024", SmallImageKey = "h4-small" } }); }