add .yeezy
This commit is contained in:
parent
aabb8e759d
commit
c91ef2b935
|
@ -889,3 +889,11 @@ def weather(bot, trigger):
|
||||||
|
|
||||||
except:
|
except:
|
||||||
bot.say("The earth is on fire 🌎🔥")
|
bot.say("The earth is on fire 🌎🔥")
|
||||||
|
|
||||||
|
@sopel.module.commands('yeezy')
|
||||||
|
def yeezy(bot, trigger):
|
||||||
|
try:
|
||||||
|
res = requests.get('https://api.kanye.rest')
|
||||||
|
bot.say(res.json()['quote'])
|
||||||
|
except Exception as e:
|
||||||
|
bot.say('borked: {}'.format(e)
|
||||||
|
|
Loading…
Reference in New Issue