* =========================================================发送消息=============================================
(message)
| 263 | * =========================================================发送消息============================================= |
| 264 | */ |
| 265 | async function SendMsg(message) { |
| 266 | if (!message) return; |
| 267 | if (Notify > 0) { |
| 268 | if ($.isNode()) { |
| 269 | var notify = require("./sendNotify"); |
| 270 | //let text = '仅完成积分签到\n@auth:Mist\n@date:2024-05-29\n注: 本脚本仅用于个人学习和交流请勿用于非法用途。用户应当遵守所有适用的法律和规定。在任何情况下,脚本的开发者或贡献者均不对任何直接或间接使用本脚本而产生的结果负责。' |
| 271 | await notify.sendNotify($.name, message); |
| 272 | } else { |
| 273 | // $.msg(message); |
| 274 | $.msg($.name, '', message) |
| 275 | } |
| 276 | } else { |
| 277 | console.log(message); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | /** |
| 282 | * =====================================================双平台log输出========================================== |