MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / one

Function one

sendNofity.js:197–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195};
196
197async function one() {
198 const url = 'https://v1.hitokoto.cn/';
199 const res = await httpClient.request(url);
200 const body = await res.body.json();
201 return `${body.hitokoto} ----${body.from}`;
202}
203
204function gotifyNotify(text, desp) {
205 return new Promise((resolve) => {

Callers 1

sendNotifyFunction · 0.70

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected