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

Method msg

sendNotify.js:3068–3078  ·  view source on GitHub ↗
(s = t, e = '', i = '', o)

Source from the content-addressed store, hash-verified

3066 return t;
3067 }
3068 msg(s = t, e = '', i = '', o) {
3069 const h = (t) => !t || (!this.isLoon() && this.isSurge()) ? t : 'string' == typeof t ? this.isLoon() ? t : this.isQuanX() ? {
3070 'open-url': t
3071 }
3072 : void 0 : 'object' == typeof t && (t['open-url'] || t['media-url']) ? this.isLoon() ? t['open-url'] : this.isQuanX() ? t : void 0 : void 0;
3073 $.isMute || (this.isSurge() || this.isLoon() ? $notification.post(s, e, i, h(o)) : this.isQuanX() && $notify(s, e, i, h(o))),
3074 this.logs.push('', '==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============='),
3075 this.logs.push(s),
3076 e && this.logs.push(e),
3077 i && this.logs.push(i);
3078 }
3079 log(...t) {
3080 t.length > 0 ? (this.logs = [...this.logs, ...t]) : console.log(this.logs.join(this.logSeparator));
3081 }

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected