()
| 195 | }; |
| 196 | |
| 197 | async 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 | |
| 204 | function gotifyNotify(text, desp) { |
| 205 | return new Promise((resolve) => { |