MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / one

Function one

notify.py:992–999  ·  view source on GitHub ↗

获取一条一言。 :return:

()

Source from the content-addressed store, hash-verified

990
991
992def one() -> str:
993 """
994 获取一条一言。
995 :return:
996 """
997 url = "https://v1.hitokoto.cn/"
998 res = requests.get(url).json()
999 return res["hitokoto"] + " ----" + res["from"]
1000
1001
1002def add_notify_function():

Callers 1

sendFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected