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

Method msg

jlld.js:502–529  ·  view source on GitHub ↗
(s = t, e = "", i = "", o)

Source from the content-addressed store, hash-verified

500 return t;
501 }
502 msg(s = t, e = "", i = "", o) {
503 const h = (t) =>
504 !t || (!this.isLoon() && this.isSurge())
505 ? t
506 : "string" == typeof t
507 ? this.isLoon()
508 ? t
509 : this.isQuanX()
510 ? { "open-url": t }
511 : void 0
512 : "object" == typeof t && (t["open-url"] || t["media-url"])
513 ? this.isLoon()
514 ? t["open-url"]
515 : this.isQuanX()
516 ? t
517 : void 0
518 : void 0;
519 this.isMute ||
520 (this.isSurge() || this.isLoon()
521 ? $notification.post(s, e, i, h(o))
522 : this.isQuanX() && $notify(s, e, i, h(o)));
523 let logs = ['', '==============📣系统通知📣=============='];
524 logs.push(t);
525 e ? logs.push(e) : '';
526 i ? logs.push(i) : '';
527 console.log(logs.join('\n'));
528 this.logs = this.logs.concat(logs);
529 }
530 log(...t) {
531 t.length > 0 && (this.logs = [...this.logs, ...t]),
532 console.log(t.join(this.logSeparator));

Callers 1

sendMsgMethod · 0.45

Calls 6

hFunction · 0.70
isSurgeMethod · 0.45
isLoonMethod · 0.45
postMethod · 0.45
isQuanXMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected