From 517db632237175b7e373b3dce560eeaef0debcc5 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Sat, 2 Nov 2019 16:48:59 -0400 Subject: [PATCH] update useless fact api endpoint --- Fun/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fun/plugin.py b/Fun/plugin.py index a393aff..050c363 100644 --- a/Fun/plugin.py +++ b/Fun/plugin.py @@ -70,7 +70,7 @@ class Fun(callbacks.Plugin): """ channel = msg.args[0] - data = requests.get("http://randomuselessfact.appspot.com/random.json?language=en").json() + data = requests.get("https://uselessfacts.jsph.pl/random.json?language=en").json() irc.reply(data['text']) useless = wrap(useless)