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.
This commit is contained in:
parent
ad17ff2552
commit
9bd1a432ed
@ -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"];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user