MCPcopy Create free account
hub / github.com/Semporia/Scripts / showMsg

Function showMsg

activity/jd_apple_live.js:95–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93}
94
95function showMsg() {
96 return new Promise(resolve => {
97 if (!jdNotify) {
98 $.msg($.name, '', `${message}`);
99 } else {
100 $.log(`京东账号${$.index}${$.nickName}\n${message}`);
101 }
102 if (new Date().getHours() === 23) {
103 $.msg($.name, '', `京东账号${$.index}${$.nickName}\n${message}`);
104 }
105 resolve()
106 })
107}
108async function helpFriends() {
109 for (let code of $.newShareCodes) {
110 if (!code) continue

Callers 1

jdHealthFunction · 0.70

Calls 2

msgMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected