From 9bd1a432ed55ffec9e060e22da46b4eff1667a4c Mon Sep 17 00:00:00 2001 From: Jordan Fearnley Date: Wed, 5 Oct 2016 10:22:13 +0100 Subject: [PATCH] Updating Weather API So I decided to take a peek at the weather API to see why it was down, turns out they've changed domain to this so I'm hoping weather will now work. --- NadekoBot/Modules/Searches/SearchesModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Modules/Searches/SearchesModule.cs b/NadekoBot/Modules/Searches/SearchesModule.cs index 4caa708b..acf8421e 100644 --- a/NadekoBot/Modules/Searches/SearchesModule.cs +++ b/NadekoBot/Modules/Searches/SearchesModule.cs @@ -55,7 +55,7 @@ namespace NadekoBot.Modules.Searches { var city = e.GetArg("city").Replace(" ", ""); var country = e.GetArg("country").Replace(" ", ""); - var response = await SearchHelper.GetResponseStringAsync($"http://api.lawlypopzz.xyz/nadekobot/weather/?city={city}&country={country}").ConfigureAwait(false); + var response = await SearchHelper.GetResponseStringAsync($"http://api.ninetales.us/nadekobot/weather/?city={city}&country={country}").ConfigureAwait(false); var obj = JObject.Parse(response)["weather"];