MCPcopy Create free account
hub / github.com/6dylan6/jdpro / msg

Method msg

function/sendNotify.js:2519–2529  ·  view source on GitHub ↗
(s = t, e = '', i = '', o)

Source from the content-addressed store, hash-verified

2517 return t;
2518 }
2519 msg(s = t, e = '', i = '', o) {
2520 const h = (t) => !t || (!this.isLoon() && this.isSurge()) ? t : 'string' == typeof t ? this.isLoon() ? t : this.isQuanX() ? {
2521 'open-url': t
2522 }
2523 : void 0 : 'object' == typeof t && (t['open-url'] || t['media-url']) ? this.isLoon() ? t['open-url'] : this.isQuanX() ? t : void 0 : void 0;
2524 $.isMute || (this.isSurge() || this.isLoon() ? $notification.post(s, e, i, h(o)) : this.isQuanX() && $notify(s, e, i, h(o))),
2525 this.logs.push('', '==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============='),
2526 this.logs.push(s),
2527 e && this.logs.push(e),
2528 i && this.logs.push(i);
2529 }
2530 log(...t) {
2531 t.length > 0 ? (this.logs = [...this.logs, ...t]) : console.log(this.logs.join(this.logSeparator));
2532 }

Callers

nothing calls this directly

Calls 5

hFunction · 0.50
isSurgeMethod · 0.45
isLoonMethod · 0.45
postMethod · 0.45
isQuanXMethod · 0.45

Tested by

no test coverage detected