()
| 212 | .finally(() => $.done()); |
| 213 | |
| 214 | async function getNotice() { |
| 215 | try { |
| 216 | let options = { |
| 217 | url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`, |
| 218 | headers: { |
| 219 | "User-Agent": defaultUserAgent, |
| 220 | }, |
| 221 | timeout:3000 |
| 222 | } |
| 223 | let { |
| 224 | data: res |
| 225 | } = await axios.request(options); |
| 226 | $.log(res) |
| 227 | return res |
| 228 | } catch (e) {} |
| 229 | |
| 230 | } |