update useless fact api endpoint

This commit is contained in:
Gordon Shumway 2019-11-02 16:48:59 -04:00 committed by GitHub
parent f764d5aff9
commit 517db63223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)