()
| 224 | .finally(() => $.done()); |
| 225 | |
| 226 | async function getNotice() { |
| 227 | try { |
| 228 | let options = { |
| 229 | url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`, |
| 230 | headers: { |
| 231 | "User-Agent": defaultUserAgent, |
| 232 | }, |
| 233 | timeout:3000 |
| 234 | } |
| 235 | let { |
| 236 | data: res |
| 237 | } = await axios.request(options); |
| 238 | $.log(res) |
| 239 | return res |
| 240 | } catch (e) {} |
| 241 | |
| 242 | } |