h/plugins/derpiback.py

12 lines
266 B
Python
Raw Normal View History

2015-11-03 01:18:44 +00:00
from util import hook
import requests
@hook.command
def derpiback(pls):
r = requests.get("https://derpibooru.org")
if "J6-eVNTVvMk" in r.text:
return "nope derpibooru is still down for maintenance, at soonest it will be tomorrow"
return "yep"