Update plugin.py
This commit is contained in:
parent
bb73a0b884
commit
e354ae09d4
|
|
@ -69,7 +69,7 @@ class Fun(callbacks.Plugin):
|
|||
"""
|
||||
|
||||
channel = msg.args[0]
|
||||
data = requests.get("http://randomuselessfact.appspot.com/random.json").json()
|
||||
data = requests.get("http://randomuselessfact.appspot.com/random.json?language=en").json()
|
||||
irc.reply(data['text'])
|
||||
|
||||
useless = wrap(useless)
|
||||
|
|
|
|||
Loading…
Reference in New Issue