Fixed ~chucknorris
This commit is contained in:
		| @@ -73,8 +73,8 @@ namespace NadekoBot.Modules.Searches | ||||
|                 var channel = imsg.Channel as ITextChannel; | ||||
|                 using (var http = new HttpClient()) | ||||
|                 { | ||||
|                     var response = await http.GetStringAsync("http://tambal.azurewebsites.net/joke/random").ConfigureAwait(false); | ||||
|                     await channel.SendMessageAsync("`" + JObject.Parse(response)["joke"].ToString() + "` 😆").ConfigureAwait(false); | ||||
|                     var response = await http.GetStringAsync("http://api.icndb.com/jokes/random/").ConfigureAwait(false); | ||||
|                     await channel.SendMessageAsync("`" + JObject.Parse(response)["value"]["joke"].ToString() + "` 😆").ConfigureAwait(false); | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user