diff --git a/src/NadekoBot/Modules/Searches/Common/WeatherModels.cs b/src/NadekoBot/Modules/Searches/Common/WeatherModels.cs index 7c7922e8..c7552a90 100644 --- a/src/NadekoBot/Modules/Searches/Common/WeatherModels.cs +++ b/src/NadekoBot/Modules/Searches/Common/WeatherModels.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using Newtonsoft.Json; +using System.Collections.Generic; namespace NadekoBot.Modules.Searches.Common { @@ -21,7 +22,9 @@ namespace NadekoBot.Modules.Searches.Common public double Temp { get; set; } public float Pressure { get; set; } public float Humidity { get; set; } + [JsonProperty("temp_min")] public double TempMin { get; set; } + [JsonProperty("temp_max")] public double TempMax { get; set; } }